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

Infinite HMR loop if circular dep calls import.meta.hot.invalidate() #16709

Open
7 tasks done
bluwy opened this issue May 18, 2024 · 0 comments
Open
7 tasks done

Infinite HMR loop if circular dep calls import.meta.hot.invalidate() #16709

bluwy opened this issue May 18, 2024 · 0 comments

Comments

@bluwy
Copy link
Member

bluwy commented May 18, 2024

Describe the bug

When a module within a circular dep calls import.meta.hot.invalidate(), and the module is updated, the HMR invalidation loops infinitely.

Reproduction

#11268

Steps to reproduce

There's a test case added in the PR, but the fix was not completed.

System Info

-

Used Package Manager

npm

Logs

No response

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant