In a gulp script that’s been working for years:
gulp.src(["*.js", "!*.spec.js"])
I found that after installation of gulp globally on a new build server that the above line was returning no files. So had the modify it to:
Our gulp build task was taking a really long time. After a bit of investigation the problem was found to be minification / uglifying of files that were already minified (in this case jquery-1.11.1.min.js and others)
return gulp.src([sourceDir + ‘/*.js’])…