Open phazei opened 9 years ago
I've been fighting the exact same problem for a few hours now. I'm still far from being able to identify the root cause.
I have the same problem. I run "return run('git -C .docs add --all').exec();" - the git command which supposed to commit all changes. If the amount of changed files is huge and output contains a lot of strings than it just hang and discontinue.
Currently appending > /dev/null
to commands to get around this (that's if you don't need the output).
If a run task outputs too much data to stdout, it seems to hang with no notices or messages or anything.
Originally I thought it was related to maxBuffer, but it seems childProcess.spawn doesn't use that, so it shouldn't have issues itself.
Here is a test case that will replicate it:
Start with running "gulp test"
I originally reported it incorrectly in #32