Skip to content
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

live reload does not works when the change is happened on entry of child compiler #3971

Closed
wood1986 opened this issue Oct 23, 2021 · 0 comments

Comments

@wood1986
Copy link
Contributor

wood1986 commented Oct 23, 2021

Bug report

I have a plugin which creates a child compiler and use a different entry for the compilation. It happens at parent's compilation.hooks.processAssets at Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE stage . When I modify the child entry, it does not have a live reload but webpack did re-compile.

Actual Behavior

webpack did re-compile but webpack-dev-server does not have a live reload when the change is done in the child entry

Expected Behavior

webpack-dev-server should have reload when child compilation has change

How Do We Reproduce?

I have a fix ready. See my PR

Please paste the results of npx webpack-cli info here, and mention other relevant information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant