This module provides namespace hot-reloading support for REPL based development.
The instructions below are for Leiningen users.
Configure project.clj
to specify DEV dependency and the REPL namespace:
:profiles {:dev {:dependencies [bract/bract.dev "<version>"]
:repl-options {:init-ns bract.dev.repl}}}
Now, you can run lein repl
to invoke the REPL and run commands - modified namespaces are automatically
reloaded on each command run:
(start) ; launch the application
(restart) ; stop and start again
File | Available in application as | Contents |
---|---|---|
config.dev.edn | bract/dev/config.dev.edn | Useful defaults DEV mode |
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close