1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-05 14:17:56 +02:00

Merge pull request #3445 from t-fritsch/fix-scss-watch-tasks

fix scss watch tasks broken on syntax error
This commit is contained in:
Hakim El Hattab
2023-08-09 15:17:25 +02:00
committed by GitHub

View File

@@ -167,8 +167,7 @@ function compileSass() {
file: transformedFile.path, file: transformedFile.path,
}, ( err, result ) => { }, ( err, result ) => {
if( err ) { if( err ) {
console.log( vinylFile.path ); callback(err);
console.log( err.formatted );
} }
else { else {
transformedFile.extname = '.css'; transformedFile.extname = '.css';