Skip to content

Commit

Permalink
fix error not captured in gulp compile
Browse files Browse the repository at this point in the history
  • Loading branch information
yubowenok committed Oct 19, 2016
1 parent f5ad9d5 commit 0cb7a15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gulp/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ var compile = function(cb, src) {
externs: externs,
output_wrapper: '(function(){%output%}).call(window);'
}
}).on('error', function() {
}).on('error', function(err) {
del([
'visflow.js'
]);
cb(err);
}));
};

Expand Down

0 comments on commit 0cb7a15

Please sign in to comment.