Support automatic reloading when in development mode. If classpath resources are file URLs, watches changes in them.
Support automatic reloading when in development mode. If classpath resources are file URLs, watches changes in them.
(autoreload file-url reload-fn)
Register file URL for autoreload. When file changes the reload-fn will be invoked with the file contents. If the URL is not a file: URL, it cannot be reloaded and is ignored.
Register file URL for autoreload. When file changes the reload-fn will be invoked with the file contents. If the URL is not a file: URL, it cannot be reloaded and is ignored.
(start-autoreload)
(stop-autoreload)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close