mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-01-17 13:28:29 +01: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:
commit
e1c180565e
@ -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';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user