Repository: zng-ui/zng (language: rust)

Issue:
Example `localize` does not open in Linux
`L10N.wait_first` never returns.


Discussion / hints:
This was caused by the `notify` update.

Fix patch:
diff --git a/crates/zng-ext-fs-watcher/Cargo.toml b/crates/zng-ext-fs-watcher/Cargo.toml
index 1e28691fa..b9877f01b 100644
--- a/crates/zng-ext-fs-watcher/Cargo.toml
+++ b/crates/zng-ext-fs-watcher/Cargo.toml
@@ -35,7 +35,7 @@ walkdir = "2.5"
 serde = "1.0"
 tracing = "0.1"
 glob = "0.3"
-notify = "7"
+notify = "6.1"
 path-absolutize = "3.1"
 atomic = "0.6"
 parking_lot = "0.12"
diff --git a/crates/zng-ext-fs-watcher/src/service.rs b/crates/zng-ext-fs-watcher/src/service.rs
index cda63d476..1bd8b58f8 100644
--- a/crates/zng-ext-fs-watcher/src/service.rs
+++ b/crates/zng-ext-fs-watcher/src/service.rs
@@ -1052,7 +1052,7 @@ impl notify::Watcher for PollWatcher {
         let worker = std::thread::Builder::new()
             .name(String::from("poll-watcher"))
             .spawn(move || loop {
-                match rcv.recv_timeout(config.poll_interval().unwrap_or_default()) {
+                match rcv.recv_timeout(config.poll_interval_v2().unwrap_or_default()) {
                     Ok(msg) => match msg {
                         PollMsg::Watch(d, r) => {
                             let info = PollInfo::new(&d, r);


Test patch: