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

MSW not working properly with hot module reload #61

Open
patrickedqvist opened this issue Mar 5, 2025 · 0 comments
Open

MSW not working properly with hot module reload #61

patrickedqvist opened this issue Mar 5, 2025 · 0 comments
Labels
bug Something isn't working third-party An issue to relates to a third-party package

Comments

@patrickedqvist
Copy link
Collaborator

patrickedqvist commented Mar 5, 2025

See issue mswjs/examples#101

Note that mswjs and next.js is currently experimental.

Workaround

Either disable mocking by changing the NEXT_PUBLICK_MOCKING_ENABLE to false in appropriate .env file or restart the dev server upon error.

@patrickedqvist patrickedqvist added third-party An issue to relates to a third-party package bug Something isn't working labels Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working third-party An issue to relates to a third-party package
Projects
None yet
Development

No branches or pull requests

1 participant