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
{{ message }}
Repository navigation
HMR is really slow when there are a lot of Vue components with <style> #7480
I am having the same issue on a large project:
The HMR is reloading ALL vue components that are using the @apply directive in the style section, instead of just loading the one that has changed.
My very basic reproduction repo is this where you can easily see that editing comp1.vue will trigger the hmr for comp2.vue which is totally unrelated.
Reacted by Illia Sakovich, Sam, MelJones and xuannn1
I have described a performance regression we have experienced in #7454 (discussion). The change that caused this for us was introduced in 3.0.10 (PR #6580). I could reproduce your problem with the reproduction repo of @gufoe. When downgrading tailwindcss to 3.0.9 there, it seemed to work as expected.
Reacted by Illia Sakovich, MelJones and Aaron Boyer
Activity
gufoe commentedon Feb 16, 2022
I am having the same issue on a large project:
The HMR is reloading ALL vue components that are using the @apply directive in the style section, instead of just loading the one that has changed.
My very basic reproduction repo is this where you can easily see that editing comp1.vue will trigger the hmr for comp2.vue which is totally unrelated.
calmyournerves commentedon Feb 17, 2022
Hey there!
I have described a performance regression we have experienced in #7454 (discussion). The change that caused this for us was introduced in 3.0.10 (PR #6580). I could reproduce your problem with the reproduction repo of @gufoe. When downgrading
tailwindcssto 3.0.9 there, it seemed to work as expected.hivokas commentedon Feb 17, 2022
Thanks for mentioning that! I'll downgrade to
3.0.9until this issue is fixed.