Skip to main content

watch_path

Function watch_path 

Source
pub fn watch_path<F>(path: PathBuf, on_change: F) -> WatchHandle
where F: Fn() + Send + Sync + 'static,
Expand description

Convenience for a single path.