Skip to main content

spawn_watcher

Function spawn_watcher 

Source
pub fn spawn_watcher(
    dir: &Path,
) -> Result<(Receiver<LibraryEvent>, RecommendedWatcher)>
Expand description

Returns a receiver of library events and the watcher handle that must be kept alive.