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: HMR / --refresh flag #1705

Merged
merged 2 commits into from Jul 1, 2022
Merged

fix: HMR / --refresh flag #1705

merged 2 commits into from Jul 1, 2022

Conversation

rschristian
Copy link
Member

@rschristian rschristian commented Jun 30, 2022

Closes #1704

CC @JoviDeCroock

Reading Webpack's docs it seems like this is a bug and unintended behavior, but upon explicitly disabling liveReload, HMR works beautifully. Might be a docs issue for Prefresh at worst, but I'll open an issue w/ dev-server and see what they say.

Edit: Hmm, seems like we have something locally that's weird. Can't reproduce this outside of CLI.

@rschristian rschristian requested a review from a team as a code owner June 30, 2022 23:11
@changeset-bot
Copy link

changeset-bot bot commented Jun 30, 2022

🦋 Changeset detected

Latest commit: 10401c8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
preact-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rschristian rschristian merged commit f9ef9b1 into master Jul 1, 2022
@rschristian rschristian deleted the fix/hmr branch July 1, 2022 22:10
@preact-bot preact-bot mentioned this pull request Jul 1, 2022
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 this pull request may close these issues.

Hot reloading reloads the whole page
3 participants