Update the Mac OS watcher in pkg/watcher.

The behavior of Directory.watch has changed, and this updates the
watcher to match the new behavior.

R=rnystrom@google.com
BUG=

Review URL: https://codereview.chromium.org//100823005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/watcher@30915 260f80e4-7a28-3924-810f-c04153c831b5
4 files changed
tree: 19aba49af9ca4fd11461582ce054b27e9ecfb379
  1. example/
  2. lib/
  3. test/
  4. pubspec.yaml
  5. README.md
README.md

A file watcher. It monitors (currently by polling) for changes to contents of directories and notifies you when files have been added, removed, or modified.