strarsis / sage9-webpack5-tailwind

Sage 9 with webpack and tailwind
MIT License
9 stars 2 forks source link

Webpack no longer watching when have an compile error #2

Closed dangquan045 closed 3 years ago

dangquan045 commented 3 years ago

Thank you for your config. But I got an issue like that: I tried create an error in scripts/route/common.js file such as define a variable but not use. Webpack does not show my error in terminal then exit watching.

[webpack-cli] 
error Command failed with exit code 2.

Could you fix that issue?

dangquan045 commented 3 years ago

[Solved] failOnError: false, // default: true