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
"spawn: false" doesn't work #560
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I cannot get
spawn: false
to actually work in the current version ofgrunt-contrib-watch
. When a watched file changes, the currentwatch
task will end, and then a newwatch
will begin immediately. The tasks that I wanted to run never run.Simplest example I can reliably demonstrate is to have a watch run
grunt-eslint
, orgrunt-karma
, on a js file.I have found that if I insert
grunt.task.clearQueue()
beforegrunt.task.run(self.tasks)
(taskrun.js#L65) the tasks will execute as expected.I am wondering if there are any caveats to this potential fix that I may be missing. Should I go ahead and open a PR?
The text was updated successfully, but these errors were encountered: