You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, not reporting this as a bug as I am new to this library and may be missing something myself.
I am trying to use notify on iOS, using RecommendedWatcher is falling back to polling and selecting KqueueWatcher is giving me a build error as follows:
let(tx, rx) = std::sync::mpsc::channel();letmut watcher = notify::KqueueWatcher::new(tx,Config::default()).unwrap();
watcher.watch(path.as_ref(),RecursiveMode::NonRecursive).unwrap();for res in rx {match res {Ok(event) => handle_job(event),Err(e) => log::error!("watch error: {:?}", e),}}
let mut watcher = notify::KqueueWatcher::new(tx, Config::default()).unwrap();
| ^^^^^^^^^^^^^ could not find `KqueueWatcher`in`notify`
Hello, not reporting this as a bug as I am new to this library and may be missing something myself.
I am trying to use notify on iOS, using RecommendedWatcher is falling back to polling and selecting KqueueWatcher is giving me a build error as follows:
Here are my dependencies in Cargo.toml
I have also tried adding kqueue and kqueue-sys but the behavior does not change.
Thanks in advance for any assistance.
The text was updated successfully, but these errors were encountered: