Skip to content
This repository was archived by the owner on Jul 8, 2020. It is now read-only.
This repository was archived by the owner on Jul 8, 2020. It is now read-only.

Don't Require JS Edits For Variable Changes #70

@special-character

Description

@special-character

I really appreciate this project!

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:

Screen Shot 2019-11-05 at 5 04 17 PM

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.

Screen Shot 2019-11-05 at 5 07 12 PM

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions