-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
[4.4.1] After update from 4.3.9, server crashes when changing .env file #13735
Comments
Hello @SiNONiMiTY. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
Start a new pull request in StackBlitz Codeflow. |
The issue seems to be caused by |
This error can easily be triggered by hitting "r" key in CLI to restart the server. |
Call stack shows this originates from And since This is introduced in #13262. |
@hackape |
Describe the bug
Previously on 4.3.9, when I change .env file, server restarts successfully
After upgrading to the latest version, server crashes when .env is changed
BEFORE
AFTER
Reproduction
StackBlitz
Steps to reproduce
Change .env file while vite server is running
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: