diff --git a/CHANGELOG.md b/CHANGELOG.md index adaf2ecd..de23d631 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ - CHANGE: Remove `Sender`s from watcher API in favour of `EventFn` [#214] - META: The project maintainers have changed from @passcod to notify-rs. - CHANGE: Avoid stating the watched path for non-recursive watches with inotify [#256] +- CHANGE: Report events promptly on Linux, even when many occur in rapid succession. [#268] + +[#268]: https://github.com/notify-rs/notify/pull/268 ## 5.0.0-pre.4 (2020-10-31) diff --git a/src/inotify.rs b/src/inotify.rs index 14e59e3a..05c96583 100644 --- a/src/inotify.rs +++ b/src/inotify.rs @@ -108,7 +108,7 @@ impl EventLoop { &evented_inotify, INOTIFY, mio::Ready::readable(), - mio::PollOpt::edge(), + mio::PollOpt::level(), )?; let event_loop = EventLoop {