You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`fs.watch`/`fs.watchFile` over a real FSA directory |[`@jsonjoy.com/fs-fsa-to-node`](packages/fs-fsa-to-node)| works over OPFS in Chrome 133+ via the native observer |
38
+
|`FileSystemObserver` over any `fs`|[`@jsonjoy.com/fs-node-to-fsa`](packages/fs-node-to-fsa)| best-effort profile: renames stat-classified, no `"moved"` records |
39
+
40
+
Intentional divergences from real watchers (the in-memory backend is deterministic, so platform
41
+
unreliability is not emulated):
42
+
43
+
- Paths are watched semantically rather than by inode: after delete-and-recreate, memfs reports
44
+
events for the recreated entry, while a real POSIX watcher keeps watching the dead inode.
45
+
- Exactly one event per logical operation — no platform duplicate events.
46
+
-`filename` is never `null`.
47
+
- The Node-style `FSWatcher` delivers events synchronously inside the mutating operation, whereas
48
+
real Node defers to the event loop; the `FileSystemObserver` batches per microtask, as the spec
0 commit comments