From 633dd58fdcd868ce67db0fbade0f15cee473c598 Mon Sep 17 00:00:00 2001 From: Fabian-Lars Date: Tue, 26 Sep 2023 18:48:53 +0200 Subject: [PATCH] Update lib.rs --- plugins/fs-watch/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/fs-watch/src/lib.rs b/plugins/fs-watch/src/lib.rs index 3ff8457b..13a49901 100644 --- a/plugins/fs-watch/src/lib.rs +++ b/plugins/fs-watch/src/lib.rs @@ -91,7 +91,7 @@ async fn watch( let watcher = if let Some(delay) = options.delay_ms { let (tx, rx) = channel(); - let mut debouncer = new_debouncer(Duration::from_millis(delay), None, tx)?; + let mut debouncer = new_debouncer(Duration::from_millis(delay), tx)?; let watcher = debouncer.watcher(); for path in &paths { watcher.watch(path, mode)?;