You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Thanks! Since posting this issue, I've discovered we can use the direnv whitelist setting to achieve auto-allow behavior in the shell. I'm not sure if it works with other non-shell tasks in VSCode, but if so, maybe we could just disable the notification for whitelisted .envrc files.
Actual behavior
Whenever I make a change to my workspace root's
.envrc
file and save it, I get this notification:I can then click Allow or run
direnv: allow the .envrc
from the command palette to reload it.Requested behavior
The README states:
It would be really convenient if, when I change the
.envrc
file, the extension automatically runsdirenv: 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.
The text was updated successfully, but these errors were encountered: