Fix error handling in watcher.

BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/watcher@26156 260f80e4-7a28-3924-810f-c04153c831b5
1 file changed
tree: eecf43f4b43207d8e68c305b533cfd79562e50ab
  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.