mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 20:21:38 +00:00
On Windows, StdBackend only watched the logical paths Rojo read, so edits made through the physical target of a file symlink, directory symlink, or junction outside the watched tree never reached `rojo serve` until it was restarted. The Windows backend now tracks each watched logical path's resolved target, registers native watches for targets outside existing watches, and maps target lifecycle events back to their logical aliases through a new VfsEvent::Rescan. Watches are refreshed when a link is removed, recreated, or repointed, and shared targets stay watched until their last alias goes away. The change processor handles Rescan and logs, rather than panics on, events for paths that no longer exist. Non-Windows behavior is unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1.5 KiB
1.5 KiB
memofs Changelog
Unreleased Changes
- Fixed native Windows symlink watches missing physical-target changes and becoming stale when links were recreated or repointed. #278
0.4.0 (2026-07-01)
- Added
Vfs::canonicalize. [#1201] - Breaking:
StdBackend::newandVfs::new_defaultnow returnio::Result, so a failure to create the filesystem watcher is reported as an error instead of panicking. TheDefaultimplementation forStdBackendhas been removed as a result. #1267
0.3.1 (2025-11-27)
0.3.0 (2024-03-15)
- Changed
StdBackendfile watching component to use minimal recursive watches. #830 - Added
Vfs::read_to_stringandVfs::read_to_string_lf_normalized#854
0.2.0 (2021-08-23)
- Updated to
crossbeam-channel0.5.1.
0.1.3 (2020-11-19)
- Added
set_watch_enabledtoVfsandVfsLockto allow turning off file watching.
0.1.2 (2020-03-29)
VfsSnapshotnow implements Serde'sSerializeandDeserializetraits.
0.1.1 (2020-03-18)
- Improved error messages using the fs-err crate.
0.1.0 (2020-03-10)
- Initial release