Be sure we don't forward an error to a closed event stream.

R=rnystrom@google.com
BUG=15034

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

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