Properly close the Linux directory watcher when listing a subdirectory fails.

R=rnystrom@google.com
BUG=15279

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

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