-
-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sass worker hangs on js compilation errors under certain circumstance #523
Labels
Comments
@JLHwung can you provide minimum reproducible test repo? |
@evilebottnawi The minimal example is https:/JLHwung/webpack-sass-worker-hang-example. It shall be fixed by webpack/webpack#6193, yet any further explanation is also definitely welcome. |
Closed since webpack/webpack#6193 is merged. |
This was referenced Sep 13, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I come across webpack hanging on company building machine. After hours and hours I manage to craft a tiny example ( link ) and reproduce it on my mac as well as travis ( link ).
Travis errored due to timeout and it is expected to fail immediately.
When webpack throws js compilation errors, chances are
node-sass
just setup a worker to compile sass and this worker does not get closed while thewebpack
exits. Thuewebpack
is hang.Related issues may be sass/node-sass#857 but I am not sure if it is same issue.
This issue may involve several teams and I hope we can work together to fix. Before we fix the issue
As noted by @crvv the following is invalid and does not work at all.
I also find a workaround for this specific hanging situation:-It will disable theasyncQueue
ofsass-loader
. Use at your own risk.The text was updated successfully, but these errors were encountered: