Liking cljdoc? Tell your friends :D

ring.middleware.refresh


AsStringcljprotocol

as-strclj

(as-str x)
source

wrap-refreshclj

(wrap-refresh handler)
(wrap-refresh handler dirs)

Injects Javascript into HTML responses which automatically refreshes the browser when any file in the supplied directories is modified. Only successful responses from GET requests are affected. The default directories are 'src' and 'resources'.

Injects Javascript into HTML responses which automatically refreshes the
browser when any file in the supplied directories is modified. Only successful
responses from GET requests are affected. The default directories are 'src'
and 'resources'.
sourceraw docstring

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

× close