Fix test task crash.

pull/149/head
Glen Cheney 7 years ago
parent 8e769ce651
commit 3cf89f6582

@ -13,7 +13,7 @@ module.exports = function test() {
}))
// https://github.com/gulpjs/gulp/issues/259#issuecomment-61976830
.on('error', (err) => {
.on('error', function onerror(err) {
if (config.watch) {
console.error(err.message);
this.emit('end');

Loading…
Cancel
Save