Skip to content
mbuczko edited this page Dec 31, 2014 · 9 revisions

Reloading modified source files using clojure.tools.namespace.repl/refresh (eg. by following Stuart's workflow) may return surprising results at the beginning:

boot.user=> (require '[clojure.tools.namespace.repl :as repl])
nil

boot.user=> (repl/refresh)
:reloading ()
:ok

No files reloaded? Looks like they are not found by c.t.n.repl, or being more specific scanned directories are simply incorrect. As the doc says directories may be overwritten by set-refresh-dirs:

boot.user=> (apply repl/set-refresh-dirs (get-env :src-paths))

Be sure (get-env :src-paths) returns a valid paths where the sources are really located.

Clone this wiki locally