PathNotFoundException due to subdirectory deletion racing with watcher internals, instead of raising it on the event stream.FileSystemException into the stream returned by the watcher.FileSystemException: Directory watcher closed unexpectedly on Windows. The watcher was already attempting to restart after this error and resume sending events. But, the restart would sometimes silently fail. Now, it is more reliable.PathNotFoundException to be thrown.PollingFileWatcher.ready completes for files that do not exist.^3.1.0dart-lang/tools monorepo.DirectoryWatcher.ready completes even when errors occur that close the watcher.FileSystemException from unexpectedly closed file watchers on windows; the watcher will also be automatically restarted when this occurs.FileSystemException during existsSync() on Windows.<3.0.0, and adjust other dependencies.Updates to support Dart 2.0 core library changes (wave 2.2). See issue 31847 for details.
async 2.0.0.async to reflect the APIs this package is actually using.FileWatcher where events could be added after watchers were closed.Add a Watcher interface that encompasses watching both files and directories.
Add FileWatcher and PollingFileWatcher classes for watching changes to individual files.
Deprecate DirectoryWatcher.directory. Use DirectoryWatcher.path instead.
Improved support for Windows via WindowsDirectoryWatcher.
Simplified PollingDirectoryWatcher.
Fixed bugs in MacOSDirectoryWatcher