Open glukki opened 6 years ago
direnv watch doesn't trigger variables reload, until you change directory.
direnv watch
Steps:
direnv edit .
direnv allow .envrc
direnv watch .
Result: nothing happens.
Expected: new environment variables got exported, as envrc file is being watched.
BTW, current fish hook implementation from the direnv: https://github.com/direnv/direnv/blob/master/shell_fish.go#L13-L15
direnv watch
doesn't trigger variables reload, until you change directory.Steps:
direnv edit .
, add some variables, save, exit editordirenv allow .envrc
direnv watch .
direnv edit .
, edit variables, save, exit editorResult: nothing happens.
Expected: new environment variables got exported, as envrc file is being watched.
BTW, current fish hook implementation from the direnv: https://github.com/direnv/direnv/blob/master/shell_fish.go#L13-L15