Closed geri777 closed 5 years ago
Closing this because it's probably very stale. If it turns out this is still an issue that needs investigation, please re-open with a more minimal reproduction.
@geri777 did you ever resolve this? i'm having the same issue
@anderoonies, I cannot exactly remember, but I think you should check the following:
instead of...
uglify()
use
uglify().on('error', function(e){
console.log("Uglify Error - maybe you are using ES6 Code?")
console.log(e);
})
Finally you could just try another version of gulp and merge-stream. This is my config in a project which works: gulp--version
tells me CLI version 2.1.0
. And my merge-stream version is 1.0.1
thanks @geri777 :) i ended up adding an .on('end', this.emit('unpipe'))
to the individual pipes and it ended up working
@geri777 @anderoonies Please send a PR to fix it if possible. Thanks a lot!
I have the following script:
If I comment out one of the two streams, the merge fires the end event - if I have both streams in the merge, all further dependencies are not started. I use merge-stream in other tasks where it works perfectly. I have no clue what's wrong here - maybe one of the pipes do not return properly?
PS: If you don't like the
merge.apply
syntax - don't worry, I tested the problem withmerge(var1, var2)
as well and it's the same.