summaryrefslogtreecommitdiffstats
path: root/zellij-utils
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2023-06-16 21:04:22 +0200
committerGitHub <noreply@github.com>2023-06-16 21:04:22 +0200
commitb7436742cddc3987df46371428d1be0d0ebfa282 (patch)
treeb46981be175fe5a9558f0ed0571717492b651934 /zellij-utils
parent317bdfc90252058d51b3f2a1847b2074baf5e80e (diff)
performance(plugins): use a debounced fs watcher (#2546)
* performance(plugins): use a debounced fs watcher * style(fmt): rustfmt * fix(macos): use recommended watcher
Diffstat (limited to 'zellij-utils')
-rw-r--r--zellij-utils/Cargo.toml2
-rw-r--r--zellij-utils/src/lib.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/zellij-utils/Cargo.toml b/zellij-utils/Cargo.toml
index 2469715f6..cbee7bb86 100644
--- a/zellij-utils/Cargo.toml
+++ b/zellij-utils/Cargo.toml
@@ -40,7 +40,6 @@ tempfile = "3.2.0"
kdl = { version = "4.5.0", features = ["span"] }
shellexpand = "3.0.0"
uuid = { version = "0.8.2", features = ["serde", "v4"] }
-notify = "6.0.0"
async-channel = "1.8.0"
#[cfg(not(target_family = "wasm"))]
@@ -50,6 +49,7 @@ log4rs = "1.2.0"
signal-hook = "0.3"
interprocess = "1.2.1"
async-std = { version = "1.3.0", features = ["unstable"] }
+notify-debouncer-full = "0.1.0"
[dev-dependencies]
insta = { version = "1.6.0", features = ["backtrace"] }
diff --git a/zellij-utils/src/lib.rs b/zellij-utils/src/lib.rs
index 87637de55..b07fe8bdc 100644
--- a/zellij-utils/src/lib.rs
+++ b/zellij-utils/src/lib.rs
@@ -20,6 +20,6 @@ pub mod logging; // Requires log4rs
#[cfg(not(target_family = "wasm"))]
pub use ::{
- anyhow, async_channel, async_std, clap, interprocess, lazy_static, libc, miette, nix, notify,
- regex, serde, signal_hook, tempfile, termwiz, vte,
+ anyhow, async_channel, async_std, clap, interprocess, lazy_static, libc, miette, nix,
+ notify_debouncer_full, regex, serde, signal_hook, tempfile, termwiz, vte,
};