-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
CSS HMR is broken on 2.7.2 #7529
Comments
Noting that we’ve also seen reports of this with Astro v2.7.1 so may have been introduced before 2.7.2. |
I used my unocss config on qwik and didn't get those bugs so I don't blame unocss |
I’ve definitely seen similar reports for a range of set-ups with/without UnoCSS, so yeah, don’t think that’s the issue here. I’d recommend anyone who’s hitting this downgrades to astro v2.7.0 for now: npm i [email protected] |
I downgrade to 2.7.0 and it 's working perfectly |
FYI, I'm getting this too with Tailwind CSS, I'm not using UnoCSS. It's particularly bad when saving I downgraded to 2.7.0 and it seems to fix the issue. |
I can definitely replicate that! I'm using Tailwind CSS and .mdx files, but this combination is proving to be not working as well. |
What version of
astro
are you using?2.7.2
Are you using an SSR adapter? If so, which one?
no
What package manager are you using?
pnpm
What operating system are you using?
linux
What browser are you using?
edge, vivaldi
Describe the Bug
When i am in dev mode, the hot reload is not working for css. It's works for html but not on css even if it's tailwind class or css in file.
What's the expected result?
i want to be abble to use dev mode and have css compile along the html
Link to Minimal Reproducible Example
https://stackblitz.com/github.com/jojojojojoj5564656465465/astro-bug2
Participation
The text was updated successfully, but these errors were encountered: