- Ensure
PollingFileWatcher.ready
completes for files that do not exist. - Require Dart SDK
^3.1.0
- Require Dart SDK >= 3.0.0
- Remove usage of redundant ConstructableFileSystemEvent classes.
- Require Dart SDK >= 2.19
- Require Dart SDK >= 2.14
- Ensure
DirectoryWatcher.ready
completes even when errors occur that close the watcher. - Add markdown badges to the readme.
- Drop package:pedantic and use package:lints instead.
- Require Dart SDK >= 2.12
- Add the ability to create custom Watcher types for specific file paths.
- Fix a bug on Mac where modifying a directory with a path exactly matching a prefix of a modified file would suppress change events for that file.
- Prepare for breaking change in SDK where modified times for not found files becomes meaningless instead of null.
- Catch & forward
FileSystemException
from unexpectedly closed file watchers on windows; the watcher will also be automatically restarted when this occurs.
- Catch
FileSystemException
duringexistsSync()
on Windows. - Internal cleanup.
- Fix an analysis hint.
- Set max SDK version to
<3.0.0
, and adjust other dependencies.
- Internal changes only.
- Fix Dart 2.0 type issues on Mac and Windows.
- Updates to support Dart 2.0 core library changes (wave 2.2). See issue 31847 for details.
- Internal changes only, namely removing dep on scheduled test.
- Fix an analysis warning.
- Declare support for
async
2.0.0.
- Fix a crashing bug on Linux.
- Narrow the constraint on
async
to reflect the APIs this package is actually using.
- Fix all strong-mode warnings.
- Fix a bug in
FileWatcher
where events could be added after watchers were closed.
-
Add a
Watcher
interface that encompasses watching both files and directories. -
Add
FileWatcher
andPollingFileWatcher
classes for watching changes to individual files. -
Deprecate
DirectoryWatcher.directory
. UseDirectoryWatcher.path
instead.
- Fix bugs where events could be added after watchers were closed.
- Treat add events for known files as modifications instead of discarding them on Mac OS.
-
Improved support for Windows via
WindowsDirectoryWatcher
. -
Simplified
PollingDirectoryWatcher
. -
Fixed bugs in
MacOSDirectoryWatcher