Liking cljdoc? Tell your friends :D

reload-modified middleware

The reload-modified middleware automatically reloads namespaces when their associated source files are modified.

Installation

Add the following dependency to your project.clj file:

[ring-reload-modified "0.1.1"]

Example

(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