summaryrefslogtreecommitdiff
path: root/cli/file_watcher.rs
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2021-09-02 23:38:44 +0200
committerGitHub <noreply@github.com>2021-09-02 23:38:44 +0200
commit1bf7b90ca8ad8e2bf62e455c24d5498c9ee74a46 (patch)
treee92ed4d8cce51a38d8e728e5d4108edca018231d /cli/file_watcher.rs
parentc84532b6d5a424694c519260f0cf407b1d8ba604 (diff)
chore: update dependencies (#11856)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/file_watcher.rs')
-rw-r--r--cli/file_watcher.rs2
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,