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.
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.