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

fix: correctly detect hmr plugin in run and watch modes #130

Closed
wants to merge 2 commits into from

Conversation

pmmmwh
Copy link
Owner

@pmmmwh pmmmwh commented Jun 28, 2020

This is related to #126 - the reason the plugin did not fail earlier is because of broken HMR detection in Webpack's watch mode.

This PR moves the detection down a step from beforeRun to beforeCompile, which will be called for both run and watch modes.

@pmmmwh pmmmwh added the bug Something isn't working label Jun 28, 2020
@pmmmwh pmmmwh self-assigned this Jun 28, 2020
@pmmmwh
Copy link
Owner Author

pmmmwh commented Jun 29, 2020

The PR has been merged but GitHub is bugging out 😃

@pmmmwh pmmmwh closed this Jun 29, 2020
@pmmmwh pmmmwh deleted the fix/hmr-plugin-detection branch July 4, 2020 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant