integrant

2020-05-24T19:24:56.052700Z

Do i need to set clojure.tools.namespace.repl/set-refresh-dirs https://clojure.github.io/tools.namespace/#clojure.tools.namespace.repl/set-refresh-dirs as part of integrant? I see mention that component sets this value to anything on the classpath, is the same true here?

salam 2020-05-24T19:31:16.054700Z

@drewverlee i'm not sure what your needs are but there's a companion library for integrant that provides "reloaded workflow functions for Integrant" so that you don't need to interact directly with tools.namespace: https://github.com/weavejester/integrant-repl

2020-05-24T19:54:19.056900Z

So your thinking it doesn't need to be set in a normal setup? I'm not sure I know enough to ask the right question.

salam 2020-05-24T20:01:18.059200Z

from my experience of using integrant so far, i've never had to set anything at the tools.namespace level. i just include the said library in my :dev alias in deps.edn and i'm good to go.

salam 2020-05-24T20:06:41.062400Z

if you're using clojure cli/tools.deps, then this little demo project might be helpful in learning how to use integrant-repl: https://github.com/finalfantasia/try_integrant