-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
Someone raised an issue in gulp-jasmine (sindresorhus/gulp-jasmine#69) about the end event, and it seems to be caused by gulp:
gulp.task("default", function (callback) {
gulp.src("test.spec.js")
.on("end", function () {
console.log("We're done!");
callback();
});
});
works with gulp@3.7 but stopped working with gulp@3.8.
Returning the pipe:
gulp.task("default", function () {
return gulp.src("test.spec.js")
.on("end", function () {
console.log("We're done!");
});
});
works as expected. Not sure if I'm missing something (I rarely use callbacks).
azaslavsky and UserBug
Metadata
Metadata
Assignees
Labels
No labels