-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Different web workers in the application refer to the one file #14582
Different web workers in the application refer to the one file #14582
Comments
@developit this seems to be a bug, do you know what's happening? They should be different bundles because they are from different paths. |
Yeah this seems to be GoogleChromeLabs/worker-plugin#24. We're blocked waiting on a fix for it. |
I'm on it! I believe I also have a fix incoming for the incrementing ID issue @filipesilva. |
Sweet :D |
Hi any idea when this fix will get in release |
None yet, sorry @markgolding! |
found a workaround for this if you run with "ng serve --prod" then the hashes are added to end of worker names so all works ok. |
@markgolding |
@destus90 @markgolding |
Cheers @SteveVanOpstal saved me hours of staring a console waiting for rebuilds. |
According to |
Worker Plugin 3.2.0 has been published and includes a fix for this. |
…5456) includes this fix GoogleChromeLabs/worker-plugin#35 which solves the below issues. Fixes #15188 and fixes #14582
…5456) includes this fix GoogleChromeLabs/worker-plugin#35 which solves the below issues. Fixes #15188 and fixes #14582
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command (mark with an
x
)Description
I have created a simple app with two components and two web workers in both of them. After starting the application with the
ng serve
command, I can't access the different web workers, only one of them. Different paths refer to a single bundle compiled. See the picture🔬 Minimal Reproduction
git clone
https://github.com/destus90/webworkersnpm ci
ng serve
🌍 Your Environment
Anything else relevant?
The text was updated successfully, but these errors were encountered: