I've set up a basic project in proto-repl, leaning on the proto-repl-demo project. I've got the following :main in my project.clj:
:main ^:skip-aot myproject.core
On proto-repl startup, it loads the dev/user.clj and the REPL starts with the user ns, but if I run lein repl from the terminal, nREPL starts with the myproject.core ns (dev/user.clj still runs before switching to the project ns). I have tried adding the following to the project.clj in the :dev profile and at the project level to no success:
:repl-options {:init-ns isbn-search.core}
Apologies if my lack of understanding is letting me down, but filing issue in case it's not.
I've set up a basic project in proto-repl, leaning on the proto-repl-demo project. I've got the following
:main
in my project.clj::main ^:skip-aot myproject.core
On proto-repl startup, it loads the
dev/user.clj
and the REPL starts with theuser
ns, but if I runlein repl
from the terminal, nREPL starts with the myproject.core ns (dev/user.clj
still runs before switching to the project ns). I have tried adding the following to the project.clj in the:dev
profile and at the project level to no success::repl-options {:init-ns isbn-search.core}
Apologies if my lack of understanding is letting me down, but filing issue in case it's not.