grunt-contrib-watch icon indicating copy to clipboard operation
grunt-contrib-watch copied to clipboard

Fix to issue #510 Watch doesn't detect cascading changes when nospawn is true

Open bchabrier opened this issue 8 years ago • 3 comments

This fixes issue #510, by keeping the watchers when the task is running (i.e. when nospawn is used). In spawn mode, the watchers are closed and recreated as before.

I have added a test suite in nospawn_test.js, which uses grunt-contrib-copy. The test creates a source.js file, which is copied into destination.js. Without the fix, the creation of source.js is correctly detected by watch, not the creation of destination.js.

The full test suite passes on travis, but erratically fails on windows (interrupt).

Hope that helps!

bchabrier avatar Jun 03 '16 21:06 bchabrier

Is anybody going to merge this?

judowalker avatar Apr 18 '17 23:04 judowalker

Hello?

ArmorDarks avatar Jul 24 '17 21:07 ArmorDarks

Why is this still open?

xgiovio avatar Feb 14 '18 17:02 xgiovio