Crate hotwatch[−][src]
hotwatch
is a Rust library for comfortably watching and handling file changes.
It's a thin convenience wrapper over notify,
allowing you to easily spawn handlers.
Watching is done on a separate thread to avoid blocking your enjoyment of life. All handlers are run on that thread as well, so keep that in mind when attempting to access outside data from within a handler.
At least Rust 1.24 is required, due to the requirements of parking_lot
.
Structs
Hotwatch |
Enums
Error | |
Event |
Event delivered when action occurs on a watched path in debounced mode |