Expand description
File watcher using the notify crate for native filesystem event detection.
Monitors a working directory for file changes using OS-level filesystem notifications (FSEvents on macOS, inotify on Linux, ReadDirectoryChanges on Windows). Events are debounced with a configurable interval (default 500ms). Includes an inactivity timeout that stops watching after a configurable period of no detected changes (default 5 minutes).
Structs§
- File
Change - A file change detected by the watcher.
- File
Watcher - Monitors a working directory for file changes using OS-native filesystem
notifications via the
notifycrate. - File
Watcher Config - Configuration for the
FileWatcher.
Enums§
- File
Change Kind - The type of file change.