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 16c88c5 commit 9b4e021Copy full SHA for 9b4e021
pkgs/watcher/lib/src/directory_watcher/windows.dart
@@ -199,7 +199,10 @@ class _WindowsDirectoryWatcher
199
subscription.onError((Object e, StackTrace stackTrace) {
200
_listSubscriptions.remove(subscription);
201
// "Path not found" can be caused by creating then quickly removing
202
- // a directory: continue without reporting an error.
+ // a directory: continue without reporting an error. Nested files
203
+ // that get removed during the `list` are already ignored by `list`
204
+ // itself, so there are no other types of "path not found" that
205
+ // might need different handling here.
206
if (e is! PathNotFoundException) {
207
_emitError(e, stackTrace);
208
}
0 commit comments