I have gulpfile.js configured as follows:
var scripts = [ 'bower_components/timezone-js/src/date.js', 'bower_components/jquery/jquery.min.js', 'bower_components/jquery-migrate/jquery-migrate.js', 'bower_components/jquery-ui/ui/minified/jquery-ui.min.js', 'bower_components/jqueryui-touch-punch/jquery.ui.touch-punch.min.js', ... ]; gulp.task('scripts', function () { return gulp.src(scripts, {base: '.'}) .pipe(plumber(plumberOptions)) .pipe(sourcemaps.init({ loadMaps: false, debug: debug, })) ...
ie, all my script files are exact matches. No swallowing.
From time to time I messed up the file path or the author changes the directory structure. I want to be notified when this happens instead of a script that will be disabled and will cause errors at runtime.
Can I make gulp.src report these errors?
mpen source share