Skip to content

Request: workspace setting to automatically reload .envrc whenever it changes #601

Open
@alexwforsythe

Description

@alexwforsythe

Actual behavior

Whenever I make a change to my workspace root's .envrc file and save it, I get this notification:

image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions