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

Hot reload crashes the app #2551

Open
zatteo opened this issue Dec 2, 2022 · 0 comments
Open

Hot reload crashes the app #2551

zatteo opened this issue Dec 2, 2022 · 0 comments

Comments

@zatteo
Copy link
Contributor

zatteo commented Dec 2, 2022

Describe the bug
Hot reload crashes the app

To Reproduce

  • Run the project with yarn start
  • Modify some files

Expected behavior
It should not crash the app.

Screenshots
image

Additional context
2 errors in the console

Uncaught ReferenceError: webpackHotUpdate is not defined
Uncaught Error: On Error is already defined
    setOnError http://localhost:8282/vendors.bundle.js:105556
    App http://localhost:8282/main.bundle.js:3606

Removing --hot in the yarn start command seems to avoid the crash (and hot reload still works)

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

No branches or pull requests

1 participant