cursive-cannot-load-another-module
How to reproduce it
Prerequisites
My environment: Cursive 1.9.4-2020.2 on Intellij IDEA 2020.2.3 Ultimate Edition.
My module settings
Steps
- setup
$ lein modules :checkouts
$ lein modules install
- Start module-a REPL.
- Load
module-a.core
withC-c C-k
. (Emacs keybindings) - Evaluate
(b.core/foo "hoge")
inmodule-a.core
. It prints "hoge Hello, World!". - Edit
b.core/foo
like this:
(defn foo
"I don't do a whole lot."
[x]
(println "changed") ;; editied
(println x "Hello, World!"))
- Load
module-a.core
again withC-c C-k
. (Emacs keybindings) - Evaluate
(b.core/foo "hoge")
inmodule-a.core
. This doesn't printchanged
.
I think it printed changed
without restart before the update of this September.
Currently, we need to run lein modules install
and to restart the REPL to reflect the changes to module-b
.
Current behavior is awkward for REPL driven development.