Skip to content

Commit a573efa

Browse files
alias: :repl/rebel load Clojure 1.12 hotload functions at REPL startup
Rebel does not use `clojure.main/repl-requires`, the list namespaces and vars which should be loaded and referred during REPl startup Clojurians Slack discussion https://clojurians.slack.com/archives/C03S1KBA2/p1681571974839499
1 parent 61277c9 commit a573efa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.org

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*** alias: remove find-deps from `:repl/reloaded` & `:dev/reloaded` as no longer required - use add-lib instead
1111
*** docs: update introduction and remove outdated content
1212
*** aliases: use `--main` option in alias `:main-opts` definitions for greater clarity
13+
*** alias: `:repl/rebel` load Clojure 1.12 hotload functions during REPL startup
1314

1415
* 2023-04-26
1516
** Added

deps.edn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
{:extra-deps {nrepl/nrepl {:mvn/version "1.0.0"}
259259
cider/cider-nrepl {:mvn/version "0.30.0"}
260260
com.bhauman/rebel-readline {:mvn/version "0.1.4"}}
261-
:main-opts ["-m" "nrepl.cmdline"
261+
:main-opts ["-e" "(apply require clojure.main/repl-requires)"
262262
"--main" "nrepl.cmdline"
263263
"--connect"
264264
"--middleware" "[cider.nrepl/cider-middleware]"

0 commit comments

Comments
 (0)