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
{{ message }}
This repository was archived by the owner on Jul 8, 2020. It is now read-only.
To get env vars to be updated locally, we have to change the JS file that imports an ENV var Docs.
The bigger problem I see is for applications that use an ENV var in more than 1 file. For example, I have an ENV var called A_WACKY_ENV_VAR used in two files. Here is a log of the ENV var from both files:
After I change the ENV var and make a change to one of the JS files, I expected the env var to be updated for both but it only updated in one file.
To get the same variable in both files, I had to update each of them. This was confusing, even after reading the docs. It would be ideal if we could update one of the files and both env vars would get updated.
Not sure if this is easy or possible but I am willing to try and find out!