This commit is contained in:
Niels Nübel
2020-12-04 11:11:35 +01:00
commit 3d59b14405
114 changed files with 72924 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
/*
* @title Error Handler
*/
import notifier from "node-notifier";
function errorHandler(error) {
notifier.notify({
title: 'Gulp Error',
message: error.message,
timeout: 3
});
console.error('\x1b[31m', error.message ,'\x1b[0m');
this.emit('end');
}
export default errorHandler;