Is your feature request related to a problem? Please describe.
With #5334 I ran into an issue with Sass not compiling. I would have expected the Gulp task to fail, but it didn't.
I run the Sass compilation within a CI/CD process but because the gulp task did not error, it allowed the update to pass.
Is there a way emit an error if the Sass compiling, or other tasks, fail?
Not sure if this is a feature request or just a support/documentation request.
Describe the solution you'd like
A way to catch errors in the Gulp tasks so they can be acted upon.
Describe alternatives you've considered
Writing a custom Gulp Sass compiling task, but that adds a maintenance burden that my client may not be comfortable taking on. It also negates one of the main reasons for using this project for our build process.
Additional context
From what I can tell the buildSass task only emits an end event, not an error.
function handleError(error) {
log(error.message);
return this.emit("end");
}
Code of Conduct
Is your feature request related to a problem? Please describe.
With #5334 I ran into an issue with Sass not compiling. I would have expected the Gulp task to fail, but it didn't.
I run the Sass compilation within a CI/CD process but because the gulp task did not error, it allowed the update to pass.
Is there a way emit an error if the Sass compiling, or other tasks, fail?
Not sure if this is a feature request or just a support/documentation request.
Describe the solution you'd like
A way to catch errors in the Gulp tasks so they can be acted upon.
Describe alternatives you've considered
Writing a custom Gulp Sass compiling task, but that adds a maintenance burden that my client may not be comfortable taking on. It also negates one of the main reasons for using this project for our build process.
Additional context
From what I can tell the
buildSasstask only emits anendevent, not anerror.Code of Conduct