Closed pbakondy closed 8 years ago
That's how gulp works. This doc may explain it for you.
https://github.com/gulpjs/gulp/blob/master/docs/recipes/running-tasks-in-series.md
In short, tasks started that way all run at once. If you want other
to wait on useref
, you need to write it this way.
gulp.task('other', ['useref'] function (cb) {
/* codes */
});
Nice, thank you
Hello,
I would like to chain useref task with other gulp task but I can not solve it.
First version with return
Second version with callback (same result)
running:
expected: