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
Vite won't restart when the local server is restarted, especially when server restart takes more than a few seconds (during development), throwing an error:
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
I'm not sure when it happened, but apparently this is fixed now. I upgraded from Vite 2.x to 4.2.1 and it works like a charm now. I'm still getting error messages from Vite when I'm restarting the proxy target server (which is fine I guess), but once the target server is ready Vite will connect to the server again.
Describe the bug
If configured with proxy, such as
Vite won't restart when the local server is restarted, especially when server restart takes more than a few seconds (during development), throwing an error:
Reproduction
n/a
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: