Is there a way to launch lein repl without loading any namespace from my project?
Two motivations:
• Fast startup
• Avoid REPL crash when there is a compilation error in one of the namespaces
it should work to use user as :init-ns
tested locally - comment out :main if any, and specify :init-ns user
If you have a user.clj, then you'll want to stop having it as the Clojure runtime will load that automatically
That’s built-in in Clojure itself, but you can of course create an user.clj which doesn’t have any requires/imports.
OK
I see.
Is there a way to tell the Clojure runtime not loading user.clj?