From 2c5c085138a5415bcfb7c77e62dc579bdf27199f Mon Sep 17 00:00:00 2001 From: zhongsp Date: Sat, 21 Sep 2019 16:18:30 +0800 Subject: [PATCH] Watchify: log compilation errors PR1100 --- doc/handbook/tutorials/Gulp.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/handbook/tutorials/Gulp.md b/doc/handbook/tutorials/Gulp.md index 130f30c..76be7b3 100644 --- a/doc/handbook/tutorials/Gulp.md +++ b/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')); }