Commit 308fb4b6 authored by Nikolay Gromov's avatar Nikolay Gromov

Добавил неостановку сервера при ошибках сборки HTML

parent 54624edd
......@@ -266,6 +266,15 @@ gulp.task('html', function() {
const replace = require('gulp-replace');
console.log('---------- сборка HTML');
return gulp.src(dirs.srcPath + '/*.html')
.pipe(plumber({
errorHandler: function(err) {
notify.onError({
title: 'HTML compilation error',
message: err.message
})(err);
this.emit('end');
}
}))
.pipe(fileinclude({
prefix: '@@',
basepath: '@file',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment