Gulp.src missing all files
Published in
1 min readNov 29, 2017
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:
gulp.src(["!(*.spec).js"])
This can probably be traced back to glob or minimatch changing at some point in time.
Hope this helps someone out there!