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] When hmr=none,mako does not take effect. #1545

Closed
Wu-kung opened this issue Aug 28, 2024 · 0 comments
Closed

[Bug] When hmr=none,mako does not take effect. #1545

Wu-kung opened this issue Aug 28, 2024 · 0 comments

Comments

@Wu-kung
Copy link
Contributor

Wu-kung commented Aug 28, 2024

Bigfish v4.2.7 & Umi v4.3.17 & mako@0.8.6

{
  "dev": "HMR=none bigfish dev"
}

tnpm run dev - 修改组件代码 - 页面依旧会热更新。

临时解:新建 mako.config.json 文件,增加 hmr 配置(https://makojs.dev/docs/config#hmr)

{
  "hmr": false
}
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