Przeglądaj źródła

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

fix scss watch tasks broken on syntax error
Hakim El Hattab 1 rok temu
rodzic
commit
e1c180565e
1 zmienionych plików z 1 dodań i 2 usunięć
  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';