From ddea1fbb5df5bc3bd89efadd10f30e446854aa5d Mon Sep 17 00:00:00 2001 From: root Date: Wed, 21 Jan 2026 14:01:43 +0400 Subject: [PATCH] fix: decouple debounce duration from poll interval in file watcher --- src/watcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/watcher.rs b/src/watcher.rs index 816219f..4ff4b26 100644 --- a/src/watcher.rs +++ b/src/watcher.rs @@ -80,7 +80,7 @@ impl FileWatcher { let _ = tx.send(event); } }, - NotifyConfig::default().with_poll_interval(Duration::from_millis(self.debounce_ms)), + NotifyConfig::default(), )?; watcher.watch(&abs_path, RecursiveMode::Recursive)?;