diff --git a/src/multiwatcher.rs b/src/multiwatcher.rs index b1379f7..b0d99a6 100644 --- a/src/multiwatcher.rs +++ b/src/multiwatcher.rs @@ -37,7 +37,7 @@ impl MultiWatcher { // ------------------------------------------------------------------------ pub fn watch(&mut self, path: &Path, mode: RecursiveMode) -> notify::Result<()> { - if self.kind != "Pool" { + if self.kind != "Poll" { self.recommended_watcher.watch(path, mode) }else{ self.poll_watcher.watch(path, mode)