Parcourir la source

Watchify: log compilation errors PR1100

zhongsp il y a 4 ans
Parent
commit
2c5c085138
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      doc/handbook/tutorials/Gulp.md

+ 1 - 0
doc/handbook/tutorials/Gulp.md

@@ -300,6 +300,7 @@ gulp.task('copy-html', function () {
 function bundle() {
     return watchedBrowserify
         .bundle()
+        .on('error', fancy_log)
         .pipe(source('bundle.js'))
         .pipe(gulp.dest('dist'));
 }