direnv / direnv-vscode

unclutter your .profile
https://marketplace.visualstudio.com/items?itemName=mkhl.direnv
BSD Zero Clause License
157 stars 11 forks source link

Add direnv.watchForChanges setting #723

Closed dawidd6 closed 6 months ago

dawidd6 commented 6 months ago

This setting could be useful for folks not wanting the constant "Reload environment" question warning popping up when they edit their direnv-watched files in VSCode. I, for example, don't want the extension to constantly reload the environment after every tiny change auto-saved by the editor.

It plays nicely with direnv.restart.automatic set to true. I just execute reload command manually and the environment is ready + extensions are restarted, without any popup, saving my wrist :smile:.

direnv-0.16.0.vsix.gz

mkhl commented 6 months ago

Thanks!