diff options
Diffstat (limited to 'cli/file_watcher.rs')
-rw-r--r-- | cli/file_watcher.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/file_watcher.rs b/cli/file_watcher.rs index aee3fe787..4a3471f22 100644 --- a/cli/file_watcher.rs +++ b/cli/file_watcher.rs @@ -222,7 +222,7 @@ fn new_watcher( let changed_paths = Arc::clone(&debounce.changed_paths); let mut watcher: RecommendedWatcher = - Watcher::new_immediate(move |res: Result<NotifyEvent, NotifyError>| { + Watcher::new(move |res: Result<NotifyEvent, NotifyError>| { if let Ok(event) = res { if matches!( event.kind, |