Fixed broken pipe for sass

This commit is contained in:
Stephan 2019-04-22 19:25:00 +02:00
parent 67e3cc1eca
commit abeb843718

View file

@ -145,11 +145,10 @@ function serve (done) {
// This is for the looks // This is for the looks
function style () { function style () {
return src(input.style) return src(input.style)
.pipe(plumber())
// .pipe(plumbError('STYLE PROBLEM')) // .pipe(plumbError('STYLE PROBLEM'))
.pipe(sass({ .pipe(sass({
includePaths: [input.vendor +'/**/*.s+(a|c)ss'] includePaths: [input.vendor +'/**/*.s+(a|c)ss']
})) }).on('error', sass.logError))
.pipe(autoprefixer(['>= 4%', 'last 2 version'])) .pipe(autoprefixer(['>= 4%', 'last 2 version']))
.pipe(dest(output.style)) .pipe(dest(output.style))
.pipe(cleanCss()) .pipe(cleanCss())