pub fn watch<P, F>(path: P, callback: F) -> Result<FileWatcher, WatchError>Expand description
Watch a file and call a callback on changes
pub fn watch<P, F>(path: P, callback: F) -> Result<FileWatcher, WatchError>Watch a file and call a callback on changes