ChromaticHQ / calliope

An opinionated yet extensible toolset to handle common front-end tasks
3 stars 0 forks source link

Expose Sass compilation errors by default #24

Closed agarzola closed 2 years ago

agarzola commented 2 years ago

Description

This PR updates the styles task to remove a regression that was causing it to catch Sass compilation errors and, therefore, fail silently.

Motivation / Context

Discovered while attempting to test styles task for #22.

Testing Instructions / How This Has Been Tested

Tested locally during a pairing session with @michelegrace.

Screenshots

Sass compilation error causes the process to exit with a thrown error on yarn build: image

Sass compilation error is logged, but does not cause the process to exit on yarn watch: image

Documentation

I added a comment to the error handling in question.