Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 2 commits into from

Conversation

bchabrier
Copy link

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, apart from watch: interrupt, which anyway doesn't work on my platform (raspberry pi2).

Hope that helps!

@bchabrier bchabrier changed the title Fix to issue #510 Fix to issue #510 Watch doesn't detect cascading changes when nospawn is true Jun 3, 2016
@bchabrier bchabrier closed this Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant