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] 编辑配置式路由的组件,热更新太慢了要十几秒 #12765

Closed
153011490 opened this issue Nov 5, 2024 · 1 comment
Closed

Comments

@153011490
Copy link

What happens?

编辑config/routes里面的组件,热更新太慢,如编辑TestComponent这个组件,热更新大概需要18秒,编辑其它非路由组件,则只需要1秒左右
{ path:test/*, name: 'test', component: './TestComponent', }

Mini Showcase Repository(REQUIRED)

Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库

How To Reproduce

编辑config/routes里面的组件,随便更新UI,加一个Button或者其它的都行

Steps to reproduce the behavior: 1. 2.

Expected behavior 1. 2.

Context

  • Umi Version: 4.0.2
  • Node Version: 18.20.4
  • Platform: WIN11
Copy link

github-actions bot commented Nov 5, 2024

由于缺乏足够的信息,我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 5, 2024
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