Liking cljdoc? Tell your friends :D

Introduction to bract.dev

This module provides namespace hot-reloading support for REPL based development.

Setup

The instructions below are for Leiningen users.

Project configuration

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}}}

Using the REPL

Now, you can run lein repl to invoke the REPL and run commands - modified namespaces are automatically reloaded on each command run:

(help)     ; see 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