-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
grunt dev and grunt e2e fight each other, and nobody wins #2688
Comments
Grunt is catching |
So this is weird, watch catches any new directory in the root directory even if you're not watching for them. It is correctly ignoring new files in the root directory. |
So I think this is either a grunt-contrib-watch bug, or we don't understand the syntax that we should be using in the |
Blocked on a response from the linked ticket. |
So I dug a little further, this is a problem with Gaze, the library that watch uses: shama/gaze#204 |
Moves us to a patched version of grunt-contrib-watch which ignores fires from Gaze (the lib around fsevents used to detect fs changes) which don't actually match the files you specify. This means that when kanso creates directores in root grunt dev no longer fires incorrectly, breaking both grunt dev and kanso.
grunt-contrib-watch patch commit is here: SCdF/grunt-contrib-watch@896dba3 |
@garethbowen please check out the change to our package.json as well as the linked patch to grunt-contrib-watch. I tried writing a test for watch, but their framework for testing doesn't lend itself well to testing that something doesn't occur, so I haven't got a good solid test for now. |
If you have
grunt dev
sitting the background and try to rungrunt e2e
they break each other. It is probably the excessive list of startup hullabaloo / foofaraw causing dev to fire, which in turn causes the state on disk to not be compatible with deployment.The text was updated successfully, but these errors were encountered: