-
-
Notifications
You must be signed in to change notification settings - Fork 778
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
fix(astro): HMR not work in windows #3100
Conversation
✅ Deploy Preview for unocss ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
@Dunqing testing PR on my Windows laptop... EDIT: since UnoCSS dependencies are linked we need to include |
@Dunqing still getting page reload: |
Yes, I am not sure page reload In astro is expected. Can you use |
I tested it in this example, but I am not receiving any error. And looks like the error has nothing to do with the |
@Dunqing adding the vite-plugin-inspect: This is weird in SSR, there are a few Then in the client, we have also 2 |
This full path is to align You can look here unocss/packages/astro/src/index.ts Lines 34 to 38 in 92e2f8e
This is strange, and we may need to return the full |
If this PR does solve the problem of Windows |
Did you test it at this PR? The latest version does not include this PR. |
fix: #2987 (comment)