Liking cljdoc? Tell your friends :D

hive-hot.watcher

FileWatcher protocol and WatchService-based implementation.

Provides file system watching for hot-reload coordination. Uses Java WatchService for cross-platform file event detection.

FileWatcher protocol and WatchService-based implementation.

Provides file system watching for hot-reload coordination.
Uses Java WatchService for cross-platform file event detection.
raw docstring

create-watcherclj

(create-watcher)

Create a new WatchServiceWatcher instance.

Create a new WatchServiceWatcher instance.
sourceraw docstring

FileWatchercljprotocol

Protocol for watching file system changes.

Protocol for watching file system changes.

start!clj

(start! this paths callback)

Start watching paths. Callback receives {:file path :type :modify|:create|:delete}

Start watching paths. Callback receives {:file path :type :modify|:create|:delete}

stop!clj

(stop! this)

Stop watching and clean up resources.

Stop watching and clean up resources.

watching?clj

(watching? this)

Returns true if watcher is currently active.

Returns true if watcher is currently active.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close