rojo/crates
Noah Peeters 1d2dc326a0 Stop losing file changes on macOS when files are deleted (AI-assisted)
Vfs::commit_event calls StdBackend::unwatch for every removed path, but only the roots passed to
watch() are watched. unwatch forwarded every path to notify anyway, and notify's FSEvents backend
handles an unwatch by tearing down and restarting its event stream; whatever changed during the
restart was never reported. Deleting files while others change (a git checkout, a branch switch)
therefore dropped events, and the served tree went stale without any error.

Only call the watcher's unwatch for paths that are actually watched. The new test deletes 100
files (calling unwatch on each, as commit_event does) while creating 100 others: before this
change macOS reported 1 of the 100 creations, now all 100.
2026-10-19 17:09:52 +02:00
..
memofs Stop losing file changes on macOS when files are deleted (AI-assisted) 2026-10-19 17:09:52 +02:00
rojo-insta-ext Use SerializationService as a fallback for when patch application fails (#1030) 2025-09-21 15:09:20 -07:00