Browse Source

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

fix scss watch tasks broken on syntax error
Hakim El Hattab 1 năm trước cách đây
mục cha
commit
e1c180565e
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      gulpfile.js

+ 1 - 2
gulpfile.js

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