You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the file is not imported, HMR won't happen. I assume you are not importing dist, README.md, .gitignore in your application code. Would you expand on when the HMR happens?
Description
How to add hmr ignore files or folders when developing
开发中如何添加
Vite
热更新忽略文件/文件夹Suggested solution
Support some ignore files/folders of hmr, such as
dist
、README.md
、.gitignore
etc.支持一些热更新忽略文件/文件夹,如
dist
、README.md
、.gitignore
等等Alternative
When modifying files/folders such as
dist
、README.md
、.gitignore
, etc., it will not triggerhmr
当修改
dist
、README.md
、.gitignore
等文件/文件夹时,不会触发热更新Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: