Implement the ability to register custom watcher implementations

This allows registering a special-purpose factory that returns its own
`Watcher` implementation that will take precedence over the default
ones. The main motivation for this is handling of file systems that need
custom code to watch for changes.
5 files changed
tree: 786914c5c5de9c7c2309db752d409d913ba75296
  1. benchmark/
  2. example/
  3. lib/
  4. test/
  5. .gitignore
  6. .test_config
  7. .travis.yml
  8. analysis_options.yaml
  9. CHANGELOG.md
  10. LICENSE
  11. pubspec.yaml
  12. README.md
README.md

A file system watcher.

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