Skip to content

Rich-Harris/vite-env-reload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite-env-reload

Repro for vitejs/vite#12127.

git clone git@github.com:Rich-Harris/vite-env-reload
cd vite-env-reload
npm i
npm start

While running the dev server, create an .env file. Nothing happens.

Edit the .env file to include a message like VITE_MESSAGE=hello. The server restarts, and the message is printed below.

Edit the message. The server restarts.

Delete the .env file. The server does not restart.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published