CSS
1
Вклад в тег
// JADE
function log(error) {
console.log([
'',
"----------ERROR MESSAGE START----------",
("[" + error.name + " in " + error.plugin + "]"),
error.message,
"----------ERROR MESSAGE END----------",
''
].join('\n'));
this.end();
}
gulp.task('jade', function() {
return gulp.src(paths.src.jade)
.pipe(jade({
pretty: true,
})).on('error', log)
.pipe(gulp.dest('src/'))
.pipe(reload({
stream: true
}));
});