From 7a0e21a9914fe13aaac222e2981a3457a92fba9f Mon Sep 17 00:00:00 2001 From: Kushagra Gour Date: Mon, 18 Mar 2019 11:28:50 +0530 Subject: [PATCH] gulpfile: fix task running out of order --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 97763e4..0bf741a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -107,7 +107,7 @@ gulp.task('useRef', function() { }); gulp.task('concatSwRegistration', function() { - gulp + return gulp .src(['src/service-worker-registration.js', 'app/script.js']) .pipe(concat('script.js')) .pipe(gulp.dest('app')); @@ -118,7 +118,7 @@ gulp.task('minify', function() { minifyJs('app/vendor.js'); minifyJs('app/lib/screenlog.js'); - gulp + return gulp .src('app/*.css') .pipe( cleanCSS(