patronage / bubs-timber

Gulp + Timber + WP
Other
5 stars 1 forks source link

gulp displays error message on terminal when available #123

Closed yuvilio closed 4 years ago

yuvilio commented 4 years ago

Make sure gulp displays scss/js error messages on the terminal when running. Example error:

[18:51:06] Starting 'styles'...
wp-content/themes/timber/assets/scss/components/_hero.scss
Error: Invalid CSS after "        color": expected "}", was ": $white;"
        on line 8 of wp-content/themes/timber/assets/scss/components/_hero.scss
        from line 37 of wp-content/themes/timber/assets/scss/screen.scss
>>         color: $white;

   --------^

[18:51:06] Finished 'styles' after 91 ms