looks like gulp-watch calls us once for each file changed or something like that, which means that if we are jumping between branches lots the build task gets called lots of times.
repro:
in another shell
git checkout some-very-different-branch
expected: one rebuild happens followed by one test run
actual: many rebuilds happen followed by one test run
looks like gulp-watch calls us once for each file changed or something like that, which means that if we are jumping between branches lots the build task gets called lots of times.
repro:
in another shell
expected: one rebuild happens followed by one test run
actual: many rebuilds happen followed by one test run