devenv.local.nix not loaded until devenv.nix is changed
Describe the bug
In a loaded devenv, a newly created devenv.local.nix is not taken into account until devenv.nix is changed.
To reproduce
In a loaded devenv shell, add a devenv.local.nix file.
Reload the devenv using direnv reload.
Nothing changes (the env var are the same).
Make a change in devenv.nix, and reload the devenv. The devenv.local.nix overrides are actives.
Version
devenv 1.8.1 (x86_64-linux)
@sandydoo looks like a caching issue
@landure, I can't quite reproduce this one.
- Could you please test against
main? We resolved quite a few issues like this one already. - If it's still an issue, is there anything special in
devenv.yamlthat we should know about?impure?
I think the issue here is that when we evaluate without devenv.local.nix it doesn't take it into account. It should be a watched path even if it doesn't exist.