Menu
  • HOME
  • TAGS

Gulp task not waiting the completion of the previous task

javascript,gulp,gulp-watch,gulp-rev

Your scripts task is not returning any value. When you do not return anything gulp have no way to know when the task is finished, therefore continues to the next one. simply say gulp.task('scripts', function() { // other stuff... var b = browserify(mainscript); return b.external('External') ... In case your task...