aboutsummaryrefslogtreecommitdiffstats
path: root/web/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/gulpfile.js')
-rw-r--r--web/gulpfile.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/gulpfile.js b/web/gulpfile.js
index 58f74098..3c2e3f15 100644
--- a/web/gulpfile.js
+++ b/web/gulpfile.js
@@ -96,6 +96,10 @@ function buildScript(bundler, filename, dev) {
function rebundle() {
return bundler.bundle()
+ .on('error', function(error) {
+ gutil.log(error + '\n' + error.codeFrame);
+ this.emit('end');
+ })
.pipe(dev ? plumber(handleError) : gutil.noop())
.pipe(source('bundle.js'))
.pipe(buffer())