Open bonkowski opened 3 years ago
I experience the same. It says it was reloaded, but when I run my Spring Boot
application, variables are not there. Could someone have a look on this please?
I'm also using a bit specific configuration, including different .env
files and some env variables need to be computed (cat content of file):
#specify environment, by default it's 'dev'
export PROFILE=${PROFILE:-dev}
dotenv "infrastructure/environment/.env"
dotenv "infrastructure/environment/$PROFILE/.env"
source "infrastructure/environment/$PROFILE/.dynamic.env"
Hi!
I'm not able to get this to work on my Mac using zsh. The direnv works as expected on the command line, but the env variables are not available from IntelliJ. Any idea why?