Liking cljdoc? Tell your friends :D

juxt.dirwatch

Directory watcher

Directory watcher
raw docstring

close-watcherclj

(close-watcher watcher)

Close an existing watcher and free up it's resources.

Close an existing watcher and free up it's resources.
raw docstring

poolclj


pool-counterclj


watch-dirclj

(watch-dir f & files)

Watch a directory for changes, and call the function f when it does. Returns a watch (an agent) that is activley watching a directory. The implementation uses a capability since Java 7 that wraps inotify on Linux and equivalent mechanisms on other operating systems. The watcher returned by this function is a resource which should be closed with close-watcher.

Watch a directory for changes, and call the function f when it
does. Returns a watch (an agent) that is activley watching a
directory. The implementation uses a capability since Java 7 that
wraps inotify on Linux and equivalent mechanisms on other operating
systems. The watcher returned by this function is a resource which
should be closed with close-watcher.
raw docstring

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

× close