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 b538295 commit 6afd432Copy full SHA for 6afd432
lib/src/directory_watcher/windows.dart
@@ -383,7 +383,7 @@ class _WindowsDirectoryWatcher
383
var innerStream = Directory(path).watch(recursive: true);
384
_watchSubscription = innerStream.listen(_onEvent,
385
onError: _eventsController.addError, onDone: _onDone);
386
- }, (error, StackTrace stackTrace) {
+ }, (error, stackTrace) {
387
if (error is FileSystemException &&
388
error.message.startsWith('Directory watcher closed unexpectedly')) {
389
_watchSubscription.cancel();
0 commit comments