Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

File changes in version 0.11.0 do not trigger hot updates of vite (vite5.0.11) #142

Open
FEADMilk opened this issue Jan 12, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@FEADMilk
Copy link

"vite": "^5.0.11",
"vite-plugin-vue-layouts": "^0.11.0",
无法触发热更新/page reload

vite4+layouts0.8版本可以出发热更新

@FEADMilk
Copy link
Author

FEADMilk commented Jan 12, 2024

project address:https://gitee.com/coding-ke/vue3-newbee-mall/tree/master

description:
I create a project with vite in version 5.0.11 and install this layouts plugin in version 0.11.0.Howerver,I found that there is no effect of vite's hmr when I change the file inside layouts folder.

image

Then I downgrade layouts version to 0.8.0 and vite version to 4.5.x.I excute the same step.It is effected.

@FEADMilk FEADMilk changed the title 0.11.0版本更改文件不触发vite的热更新(vite5.0.11) File changes in version 0.11.0 do not trigger hot updates of vite (vite5.0.11) Jan 12, 2024
@markthree
Copy link
Collaborator

markthree commented Jan 16, 2024

Waiting for merge → #141

@markthree markthree self-assigned this Feb 1, 2024
@markthree markthree added the bug Something isn't working label Feb 1, 2024
@nigiwen
Copy link

nigiwen commented Feb 2, 2024

Waiting for merge → #141

hope to speed up @JohnCampionJr

@avivsalman
Copy link

same problem for me, hope it will be soon :)

@avivsalman
Copy link

Whay its took so long?

@Joebayld
Copy link

Joebayld commented Aug 7, 2024

Is this going to get merged?

@afsharsafavi
Copy link

I have a vue project that when I use vite-plugin-vue-layout version 0.11, when I change any file, whole of the page will be refreshed. but when I use version 0.8, it's fine and only changed elements, affected without browser refresh.
I tested and it seems this problem occur after version 9.

@vanarok
Copy link

vanarok commented Dec 22, 2024

I see on vite-plugin-vue-layouts 0.11.0 this problem is resolved.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants