Run gulp task after completion of other task
I have two sets of files, let's call them base and mods . The mods files override the base files, so when I run the gulp task related to base , I need to run the mods task directly after. My setup is something like this: gulp.task('base',function(){ return gulp.src('base-glob') .pipe(...) .pipe(gulp.dest('out-glob')) }); gulp.task('mods',function(){ return gulp.src('mods-glob') .pipe(...) .pipe(gulp.dest('out-glob')) }); So I want to run the mods task at the completion of the base task. Note that this is not the same as defining base as a dependency of mods , because if I'm only changing mods