Update lib.rs

pull/577/head
Fabian-Lars 2 years ago committed by GitHub
parent 6a44fcd70e
commit 633dd58fdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -91,7 +91,7 @@ async fn watch<R: Runtime>(
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)?;

Loading…
Cancel
Save