Fix a flaky test and work around issue 16003 in pkg/watcher.

There's an additional flaky test that this CL is not likely to fix. Additional
debugging is added to help track down the cause of that flake.

R=rnystrom@google.com
BUG=16079

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/watcher@31815 260f80e4-7a28-3924-810f-c04153c831b5
3 files changed
tree: 0ec49cbaa00669936a34a14f679880d894dd68e5
  1. example/
  2. lib/
  3. test/
  4. LICENSE
  5. pubspec.yaml
  6. 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.