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:
(help) ; show REPL help text
(start) ; launch the application
(restart) ; stop and start again
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close