Watchify: log compilation errors PR1100

This commit is contained in:
zhongsp 2019-09-21 16:18:30 +08:00
parent cd4e8cec61
commit 2c5c085138

View File

@ -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'));
}