Browse Source

Fixed gulp-notify errors

master
Jan Jastrow 1 year ago
parent
commit
c2713d7632
  1. 32
      gulpfile.js

32
gulpfile.js

@ -41,10 +41,10 @@ var SassConfig = {
function scss_addons() {
var onError = function(err) {
notify.onError({
title: 'scss_addons',
subtitle: 'Error!',
message: '❌ <%= error.message %>',
sound: 'Submarine'
"title": "scss_addons",
"subtitle": "Error!",
"message": "❌ <%= error.message %>",
"sound": "Submarine"
})(err);
this.emit('end');
};
@ -61,20 +61,20 @@ function scss_addons() {
.pipe(gulp.dest(SassConfig.outputDir))
.pipe(livereload())
.pipe(notify({
title: 'scss_addons',
subtitle: 'Success!',
message: '✅ SCSS compiled',
timeout: '2'
"title": "scss_addons",
"subtitle": "Success!",
"message": "✅ SCSS compiled",
"timeout": "2"
}));
}
function scss_main() {
var onError = function(err) {
notify.onError({
title: 'scss_main',
subtitle: 'Error!',
message: '❌ <%= error.message %>',
sound: 'Submarine'
"title": "scss_main",
"subtitle": "Error!",
"message": "❌ <%= error.message %>",
"sound": "Submarine"
})(err);
this.emit('end');
};
@ -91,10 +91,10 @@ function scss_main() {
.pipe(gulp.dest(SassConfig.outputDir))
.pipe(livereload())
.pipe(notify({
title: 'scss_main',
subtitle: 'Success!',
message: '✅ SCSS compiled',
timeout: '2'
"title": "scss_main",
"subtitle": "Success!",
"message": "✅ SCSS compiled",
"timeout": "2"
}));
};

Loading…
Cancel
Save