DescriptionDon'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
Committed: https://code.google.com/p/dart/source/detail?r=31574
Patch Set 1 #Patch Set 2 : Unflake tests. #
Total comments: 2
Patch Set 3 : Revise shared test. #
Messages
Total messages: 4 (0 generated)
|