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.
(create-watcher)Create a new WatchServiceWatcher instance.
Create a new WatchServiceWatcher instance.
Protocol for watching file system changes.
Protocol for watching file system changes.
(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! this)Stop watching and clean up resources.
Stop watching and clean up resources.
(watching? this)Returns true if watcher is currently active.
Returns true if watcher is currently active.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |