SIGN IN SIGN UP
denoland / deno UNCLAIMED

A modern runtime for JavaScript and TypeScript.

0 0 16 Rust

perf(runtime): update notify watcher dependency (#34567)

## Summary
- Updates the workspace `notify` dependency to 8.2.0 and refreshes the
lockfile.
- Filters the new Linux `Open(Any)` access events introduced by notify 8
before they are forwarded to JavaScript watchers.
- Makes `FsWatcher.close()` idempotent so repeated close calls do not
race against an already-closed resource.
- Removes the old `mio` 0.8 and older `inotify` watcher dependency path
without changing close-write events from `access` to `modify`.

## Validation
- `cargo check -p deno_runtime`
- `cargo build -p deno --locked`
- `deno test -A --config tests/config/deno.json
tests/unit/fs_events_test.ts`
- `cargo test -p unit_tests --test unit fs_events -- --nocapture`
- Watcher integration tests, including server-backed cases after
building `test_server`
- Checked the active cargo graph for `notify@8.2.0`, `mio@1.0.3`, and
`inotify@0.11.1`, with the old `mio@0.8.11` path removed
- Compared same-target debug binary size; the prior validated notify
candidate reduced `target/debug/deno` by about 1.2 MB

---------

Co-authored-by: Nathan Whitaker <nathan@deno.com>
N
nathanwhitbot committed
43846859bec74cf842849f533ada42c7d1e846ac
Parent: 152d722
Committed by GitHub <noreply@github.com> on 6/1/2026, 11:15:13 AM