Skip to content

Commit 275fc02

Browse files
committed
Simplify Windows DirectoryWatcher, reduce event buffer delay.
1 parent bcf6c2c commit 275fc02

File tree

2 files changed

+159
-197
lines changed

2 files changed

+159
-197
lines changed

pkgs/watcher/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
- Polling watchers now check file sizes as well as "last modified" times, so
44
they are less likely to miss changes on platforms with low resolution
55
timestamps.
6+
- `DirectoryWatcher` on Windows performance: reduce 100ms buffering of events
7+
before reporting to 5ms, the larger buffer isn't needed for correctness after
8+
the various fixes.
69
- Bug fix: while listing directories skip symlinks that lead to a directory
710
that has already been listed. This prevents a severe performance regression on
811
MacOS and Linux when there are more than a few symlink loops.

0 commit comments

Comments
 (0)