Created
November 7, 2019 14:05
-
-
Save thumbnail/d6ce4e97e81bed4dd3441e655817fdda to your computer and use it in GitHub Desktop.
reloading lein profile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:reloading {:dependencies [[org.clojure/tools.namespace "0.3.1"]] | |
:injections [(->> (System/getProperty "user.dir") | |
(java.io.File.) | |
(.listFiles) | |
(filter #(and (.isDirectory %) | |
(not (.isHidden %)))) | |
(map #(.getName %)) | |
(filter #{"src", "test", "modules", "libs", "main"}) ;; maybe this should be a blacklist | |
(apply clojure.tools.namespace.repl/set-refresh-dirs))]}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment