소스 검색

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

fix scss watch tasks broken on syntax error
Hakim El Hattab 1 년 전
부모
커밋
e1c180565e
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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';