You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Making a file invalid should cause webpack watch compilation to fail
I realize I have named this issue exactly like this one, but that issue is marked as resolved as of a few versions ago and yet strange behaviour still seems to persist
Actual Behaviour
Webpack watch appears to succeed despite invalid input
Steps to Reproduce the Problem
npm i
npx webpack watch
compilation succeeds
edit src/index.ts to uncomment out the trailing { and save
notice npx webpack watch runs again and compilation still succeeds
stop npx webpack watch
run npx webpack watch again and notice that an error now appears
Location of a Minimal Repository that Demonstrates the Issue.
@aardvarkk, Thanks for reporting this. I did resolve #1204 but then broke it again fixing #1243. Check #1204 for my explanation. I will raise a PR to fix this.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Expected Behaviour
Actual Behaviour
Steps to Reproduce the Problem
npm i
npx webpack watch
src/index.ts
to uncomment out the trailing{
and savenpx webpack watch
runs again and compilation still succeedsnpx webpack watch
npx webpack watch
again and notice that an error now appearsLocation of a Minimal Repository that Demonstrates the Issue.
https://github.com/aardvarkk/webpack-ts-loader-issue/tree/main
The text was updated successfully, but these errors were encountered: