Liking cljdoc? Tell your friends :D
Clojure only.

ring.middleware.reload

Middleware that reloads modified namespaces on each request.

This middleware should be limited to use in development environments.

Middleware that reloads modified namespaces on each request.

This middleware should be limited to use in development environments.
raw docstring

wrap-reloadclj

(wrap-reload handler)
(wrap-reload handler options)

Reload namespaces of modified files before the request is passed to the supplied handler.

Accepts the following options:

:dirs - A list of directories that contain the source files. Defaults to ["src"]. :reload-compile-errors? - If true, keep attempting to reload namespaces that have compile errors. Defaults to true.

Reload namespaces of modified files before the request is passed to the
supplied handler.

Accepts the following options:

:dirs                   - A list of directories that contain the source files.
                          Defaults to ["src"].
:reload-compile-errors? - If true, keep attempting to reload namespaces
                          that have compile errors.  Defaults to true.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close