-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
[Vite 3] Flaky Dev Server #8715
Comments
Thanks for creating the issue. Let us know once you find the problematic change in vite-plugin-ssr, as that may shed light in what is going to on Vite's side. |
That's helpful. Thanks. Btw I see this:
Seems like the Vite dev server fails to provide a module after optimizeDeps is updated. It's flaky as well (i.e. it's sometimes green). |
A 504 here is normal after missing dependencies have been found. On-fly deps requests will respond with a 504 as these are outdated. The browser will reload the page and ask these again. Do you have code checking for these in the tests? It should ignore these 504 for deps. |
I can't reproduce this with the Vite 3 beta anymore. Not sure what happened here 😅 but I won't complain :-). I guess we can close this. |
Describe the bug
Vite 3 seems to introduce changes that make the dev server flaky.
Reproduction
https://github.com/vite-3-flaky-dev-server/vite-plugin-ssr
System Info
See reproduction's GitHub Actions.
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: