Welcome! Please see the About page for a little more info on how this works.

+5 votes
in tools.build by

We’ve had a few cases where people encountered issues due to the existence of user.clj during uberjar building with tools.build.

Because user loads early, anything it loads is not (typically) reloaded during compilation, which can lead to some namespaces not being compiled.

Should maybe warn if user is on classpath or even actively recompile with something like

(binding [*compile-files* true] (require 'user :reload-all))
by
I'd be very happy to see some sort of flag introduced (either a JVM property or better still an env var that I could set globally for all my systems) that *disabled* loading user.clj altogether!

Please log in or register to answer this question.

...