We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c77201f commit bcf6c2cCopy full SHA for bcf6c2c
pkgs/watcher/lib/src/directory_watcher/windows.dart
@@ -195,6 +195,9 @@ class _WindowsDirectoryWatcher
195
}
196
197
/// The callback that's run when [Directory.watch] emits a batch of events.
198
+ ///
199
+ /// This method must be fully synchronous or there will be races with ongoing
200
+ /// newdirectory lists updating `_files`.
201
void _onBatch(List<Event> batch) {
202
_sortEvents(batch).forEach((path, eventSet) {
203
var canonicalEvent = _canonicalEvent(eventSet);
0 commit comments