direnv-vscode
direnv-vscode copied to clipboard
Request: workspace setting to automatically reload .envrc whenever it changes
Actual behavior
Whenever I make a change to my workspace root's .envrc
file and save it, I get this notification:
direnv: Your .envrc has changed. Would you like to allow it?
I can then click Allow or run direnv: allow the .envrc
from the command palette to reload it.
Requested behavior
The README states:
When any files watches by direnv are modified the extension automatically reloads the environment.
It would be really convenient if, when I change the .envrc
file, the extension automatically runs direnv: allow the .envrc
for me instead of displaying the notification in the screenshot.
I can imagine that not all users want this behavior in every workspace, so this should be an optional setting that's disabled by default.