-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
HTML auto reload is disabled when index.html
is registered as a PostCSS dependency
#3716
Comments
#3929 this pr can solve this. |
My understanding is that the fix was released in |
I tried the above repo by |
I assumed that the example featured Tailwind's JIT mode, which is the situation where I'm experiencing this problem, but it doesn't. So never mind, the issue is probably more complex or might not be related at all, I assumed that it was because Tailwind probably adds the HTML file(s) as dependencies. |
@bradlc would you try your use cases against [email protected] and close this issue if they are covered? |
Has anyone experienced full page reloads on 2.4 beta 3? Changing a class in a an SFC is triggering this. Running everything on latest/next, including Tailwind. Edit: nevermind, I think this is related to my app as it also happens on 2.3.6. Will debug and open an issue if need be. |
Going from |
I have updated the reproduction to something that still doesn't work in |
I opened a new pr to solve this issue #4127 |
|
Describe the bug
If the
index.html
file is registered as a PostCSS dependency then the browser does not automatically reload when editing theindex.html
file as expected.Reproduction
https://github.com/bradlc/vite-index-bug
System Info
Output of
npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers
:Used package manager: npm
The text was updated successfully, but these errors were encountered: