I am trying to rewrite the sass files and whenever I put the gulp startup tasks in the app.js file the entire app breaks and is blank with nothing but the header. I believe I set up sass correctly
Idea: change the SASS task in your gulp file as follows so you get better error reporting:
.pipe(sass())
.on(“error”, function(err) {
console.log(err.toString());
this.emit(“end”);
})
This will prevent your complete gulp process from breaking when there is some error in your SASS files.
1 Like