Skip to content
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

Read environment variables from .env file #206

Open
surchs opened this issue Jul 14, 2024 · 0 comments
Open

Read environment variables from .env file #206

surchs opened this issue Jul 14, 2024 · 0 comments
Labels
feedback:feature request Request for a new functionality or for an enhancement.

Comments

@surchs
Copy link
Contributor

surchs commented Jul 14, 2024

In development, it's pretty involved to always export a local .env file to the local shell in order to test setting changes. It can also lead to strange behaviour when I forget that I had already set a variable in my shell, but then change the .env file without re-exporting it.

We should find a way for the local .env file to be automatically read by the development server so that I can

  • make a change to a ENV variable in the .env file
  • not export the .env file
  • see the change in the .env file applied to the behaviour of the app after a relaunch (ideally automatic relaunch from vite dev-mode)
@surchs surchs added the feedback:feature request Request for a new functionality or for an enhancement. label Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback:feature request Request for a new functionality or for an enhancement.
Projects
Status: No status
Development

No branches or pull requests

1 participant