spence-s / simple-pug-loader

Simpler than pug-loader
https://www.npmjs.com/package/simple-pug-loader
MIT License
14 stars 4 forks source link

[bug] all pug file dependencies not tracked after pug compilation error #10

Open spence-s opened 3 years ago

spence-s commented 3 years ago

Related to https://github.com/Spence-S/simple-pug-loader/pull/9

This can cause webpack watchers to not reload for all included pug files. The PR fixes the primary problem and is a good solution but maybe we can pursue a more robust solution to keep all dependencies tracked even when there is an error so that webpack will reload properly even after errors.