Skip to content

Commit

Permalink
fix(deps): update rust crate notify-debouncer-mini to 0.4 (#577)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
renovate[bot] and FabianLars authored Sep 26, 2023
1 parent 746067b commit 6111c7f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 94 deletions.
120 changes: 28 additions & 92 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/fs-watch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion plugins/fs-watch/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
Expand Down

0 comments on commit 6111c7f

Please sign in to comment.