build - make gulp return non-zero error code on bundle fail

feature/default_network_editable
kumavis 8 years ago
parent afbe6f5e5f
commit 4d42cfaa25
  1. 2
      gulpfile.js

@ -296,8 +296,6 @@ function bundleTask(opts) {
return ( return (
bundler.bundle() bundler.bundle()
// log errors if they happen
.on('error', gutil.log.bind(gutil, 'Browserify Error'))
// convert bundle stream to gulp vinyl stream // convert bundle stream to gulp vinyl stream
.pipe(source(opts.filename)) .pipe(source(opts.filename))
// inject variables into bundle // inject variables into bundle

Loading…
Cancel
Save