fix(deps): update rust crate notify-debouncer-mini to 0.4 (#577)

* fix(deps): update rust crate notify-debouncer-mini to 0.4

* Update lib.rs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
This commit is contained in:
renovate[bot]
2023-09-26 18:54:26 +02:00
committed by GitHub
parent 746067bb70
commit 6111c7f3da
3 changed files with 30 additions and 94 deletions
+1 -1
View File
@@ -16,4 +16,4 @@ tauri.workspace = true
log.workspace = true
thiserror.workspace = true
notify = { version = "6" , features = ["serde"] }
notify-debouncer-mini = { version = "0.3" , features = ["serde"] }
notify-debouncer-mini = { version = "0.4" , features = ["serde"] }
+1 -1
View File
@@ -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)?;