leiningen 2022-06-29

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

Alex Miller (Clojure team) 2022-06-29T03:49:01.472329Z

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?