notify
notify copied to clipboard
🔭 Cross-platform filesystem notification library for Rust.
From the PollWatcher code: - [x] Populate mtimes before loop, and then handle creation events (done in #88, released in v3.0.0) - [x] Handle deletion events (done in #88, released...
Windows provides an error code to the completion routine that is called when a new file event is received. In the code (i.e. here: https://github.com/passcod/notify/blob/0709c940dd7294ef07b176504a89949d462bbe98/src/windows.rs#L300), the only error that is...
Hi! We've been using notify in rust-analyzer, and one thing I've noticed that a task like "watch `src/**.rs` glob" requires quite a bit of manual implementation. Specifically, I think two...
The below is saved as a historical document, but **many** things are incorrect now. The best place to see where this is at is the [`next` branch](https://github.com/passcod/notify/tree/next#status) and other issues...
I'm going to talk Linux specific here because that's the only kernel I am familiar with. However, I think the following ideas can be ported to other Unix systems. In...
List of things to fix in the docs - > platform in **immediate mode** - > Note that for **recusive** watched - > If tick_rate is None, **notify** will select...
Ads a new method for initializing the recommended watcher and falling back to pollwatcher on failure to do so Fixes #423
We may want to utilize [park_timeout](https://doc.rust-lang.org/std/thread/fn.park_timeout.html) and [unpark](https://doc.rust-lang.org/std/thread/struct.Thread.html#method.unpark) to allow faster shutdown or commands. Drawback: we've got to handle spurious wakeups and it may be less sleep efficient.
The current wiki could probably take some cleanup regarding all the changes that v5 introduces. (Especially the setup parts). This is low prio and rather to document that state. Theoretically...
Almost every caller of `notify` needs to handle rescan events, to be correct. However, in order to discover that this thing even exists it is necessary to dig many levels...