| commit | f16db649803d130ce25e33f6dd8be1ae3292d9de | [log] [tgz] |
|---|---|---|
| author | rnystrom@google.com <rnystrom@google.com> | Tue Jan 07 21:09:58 2014 +0000 |
| committer | rnystrom@google.com <rnystrom@google.com> | Tue Jan 07 21:09:58 2014 +0000 |
| tree | 721a49a0cd959c0baa705ae85c15363d9f740dcf | |
| parent | ce9c760bd4ce9f56b26c5628706ac075a6d48dfb [diff] |
Don't test for file differences in the polling watcher. The non-polling forms don't do this, so this makes the polling style behave the same. It also has two important benefits: 1. On Windows, this avoids opening the files being watched. Since opening a file prevents it from being deleted on Windows, this causes the watcher to interfere with the files and leads to some flaky tests and buggy user behavior. 2. It saves some time and memory since we don't need to store the SHA1 for every file being watched. BUG=http://dartbug.com/13026, http://dartbug.com/15431 R=nweiz@google.com Review URL: https://codereview.chromium.org//122573003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/watcher@31574 260f80e4-7a28-3924-810f-c04153c831b5