I run the standard scss compilation through gulp. Specially made an error in scss - but gulp does not give an error, tried several options - but did not see any errors in the console.

In theory, the compilation should produce an error, please tell me why I don't see the error? (I run from the gulp sass terminal)

Scss snippet with a specially made error:

.wrapper { aadisplay: grid; } 

 gulp.task('sass',function () { gulp.src('./sass/**/*.scss') .pipe(debug({title:' --------------- sass -------'})) // .pipe(sass({outputStyle: 'expanded'}).on('error', sass.logError)) // .pipe(sass({outputStyle: 'expanded'}).on('error', function( error ) // { // console.log( error ); // } )) .pipe(sass({errLogToConsole: true})) .pipe(gulp.dest('./css')); }); 

  • 2
    This is because there is no error, it does not check the attributes - Artem Gorlachev

0