Fix missing events for files with directory prefix (#84)

Fixes #83

If any event had the same leading characters as a directory that was
also changed it would get filtered out. For example if both `lib/b/` and
`lib/b.dart` have change events we'd lose the events for `lib/b.dart`
because it shared a prefix with a directory, even though it isn't
contained within that directory.
5 files changed
tree: a682e158c4f80339dcaf4b4d1c20bbb4d9e21dda
  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.