Rohit Bajaj
asked on
Needing to Restart Intellij Idea for updated environment variables values
HI,
In my spring mvc project i am accessing an environment variable like ${FLOCK_APPS_CONFIG} .
But when i change it value in .bash_profile file the same is not reflected even if i do mvn clean etc.
It always picks up the old value.
Only when i do Invalidate Caches and Restart does it starts picking up the updated value.
Why is that ?
Is there any way to avoid this ?
Thanks
In my spring mvc project i am accessing an environment variable like ${FLOCK_APPS_CONFIG} .
But when i change it value in .bash_profile file the same is not reflected even if i do mvn clean etc.
It always picks up the old value.
Only when i do Invalidate Caches and Restart does it starts picking up the updated value.
Why is that ?
Is there any way to avoid this ?
Thanks
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.