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

[Bug Report]: Config not completely updated in HMR #1572

Closed
fu050409 opened this issue Jul 10, 2024 · 0 comments · Fixed by #1588
Closed

[Bug Report]: Config not completely updated in HMR #1572

fu050409 opened this issue Jul 10, 2024 · 0 comments · Fixed by #1588
Assignees
Labels
bug Something isn't working scope: hmr Error on hot module reload

Comments

@fu050409
Copy link
Member

Steps to reproduce

  1. Setup a farm project by using pnpm create farm@latest

  2. Setup environment by using pnpm i

  3. Start a dev server by using pnpm dev or pnpm start

  4. For example, modify the config file:

    From:

    server: {
      hmr: {
        overlay: true
      }
    },

    To:

    server: {
      hmr: {
        overlay: false
      }
    },
  5. Modify any files in src to approch an error, in broswer, overlay of the error still displays.

Reproduce link

No response

What is actually happening?

see above

System Info

any
@wre232114 wre232114 added bug Something isn't working scope: hmr Error on hot module reload labels Jul 11, 2024
@fu050409 fu050409 self-assigned this Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working scope: hmr Error on hot module reload
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants