-
-
Notifications
You must be signed in to change notification settings - Fork 20
HMR doesn't work in projects that use Plugins that use workers #41
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
Comments
Hi @shiv19, Thanks for reporting that! In In order to fix that, starting from The issue with apps using the Worker plugin is caused by the following behavior:
In other words, the Worker plugin and loader should stop emitting these files on each change and we will move this issue in the Worker loader repository. Unfortunately, the above-mentioned point (2) does not have an easy fix and most probably it will be a known limitation for |
Hi @DimitarTachev, |
Hi @AtoianAvetik, Thanks for your help! Unfortunately, this plugin won't change the problematic behavior as the Worker chunks are already excluded from the HMR updates (they are generated by another Webpack process). We need the opposite logic, the Worker chunks should be included in the hot updates in order to avoid the app restart. As I've already mentioned, this issue should be handled in the |
@DimitarTachev, thanks for such a quick reply. Then we will wait for other news from you. Thanks! |
**Acceptance criteria **
|
EddyVerbruggen/nativescript-particle#7
NativeScript6 Particle Plugin HMR issue.zip
HMR doesn't work when using nativescript-particle plugin.
This problem did not exist in older versions of dev-webpack
The text was updated successfully, but these errors were encountered: