Clone this repo:
  1. ee6a426 Merge pull request #51 from dart-lang/merge by Natalie Weizenbaum · 5 days ago master
  2. fced1a8 Merge branch '0.9.7+x' by Natalie Weizenbaum · 5 days ago
  3. f396524 Merge pull request #47 from dart-lang/corelib_2_2 by Leaf Petersen · 3 weeks ago 0.9.7+7
  4. d9df351 Updates for Dart 2.0 corelib changes (wave 2.2) by Leaf Petersen · 3 weeks ago
  5. c4b88a0 Merge pull request #46 from dart-lang/merge by Kevin Moore · 6 weeks ago

A file system watcher.

It monitors changes to contents of directories and sends notifications when files have been added, removed, or modified.

Symlinks

As best it can, this package treats valid symlinks as copies of the linked files or directories, and broken symlinks as non-existent. However, there are some caveats. In particular, due to limitations in the native file watching APIs for various platforms, a watcher's behavior is undefined if:

  • A target is added for a symlink that was previously broken.

  • A symlink links to another symlink, and the second symlink is removed.

  • A symlink links to a file or directory contained within another symlink, and the second symlink is removed.

  • A symlink's own target changes. This is undefined only when using the polling watcher, due to issue 24821.