React reload .env variables after Changing them
in my react app I have a .env file and every time I change them I can't see the change until I stop and npm start again is there a faster why to do it?
Environment variables are passed to process (npm start), so those are stable for 1 process. So that's why you need to kill process and start again, cause variables are already passed and there is no way to hot reload.