The reload-modified middleware automatically reloads namespaces when their associated source files are modified.
Add the following dependency to your project.clj
file:
[ring-reload-modified "0.1.1"]
(use 'ring.middleware.reload-modified)
(def app
(wrap-reload-modified #'handler ["src"]))
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close