-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
When I specify .on('end', callback) after calling tap the event callback will not be fired. One can get around this by specifying the event callback first but I am wondering if this is expected or a bug?
gulp.task('test', function() {
return gulp.src(paths.css)
.pipe(doSomething())
.on('end', tap(function() {
// this will be executed
console.log('Tasks done (A)')
}))
.pipe(tap(function(file) {
console.log(file);
}))
.on('end', tap(function() {
// this will not be executed
console.log('Tasks done (B)')
}))
});Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels