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]: hmr infinite loop #1222

Closed
xusd320 opened this issue May 30, 2024 · 1 comment
Closed

[BUG]: hmr infinite loop #1222

xusd320 opened this issue May 30, 2024 · 1 comment

Comments

@xusd320
Copy link
Contributor

xusd320 commented May 30, 2024

hrm 陷入死循环,无法终止

复现步骤:

cargo run --bin mako examples/with-dynamic-import --watch
echo "export default '1'" > examples/with-dynamic-import/a.ts
echo "import('./a').then(console.log)" >> examples/with-dynamic-import/lazy.tsx

hmr 成功, 随后

git checkout ./example
git clean -fd

执行完 git clean -fd 后,hmr 就死循环了,请求发了 12w 次
image

@sorrycc
Copy link
Member

sorrycc commented Jan 14, 2025

I'll close it and reopen it if necessary.

@sorrycc sorrycc closed this as completed Jan 14, 2025
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

2 participants