Skip to content

Conversation

@bobvanderlinden
Copy link
Contributor

@bobvanderlinden bobvanderlinden commented Mar 7, 2023

Resolved #463

Currently whenever print-dev-env fails, direnvrc exits with a failure.
This makes watch_file and other direnv changes be rolled back. It results in the devenv.nix file not being watched anymore.

I did the same for failure to parse devenv.yaml.

In addition, the error message now directs the user to devenv.nix.

Lastly I saw some places where log_error seemed like a nicer alternative to log_status.

Currently whenever print-dev-env fails, direnvrc exits with a failure.
This makes watch_file and other direnv changes be rolled back. It
results in the devenv.nix file not being watched anymore.

In addition, the error message now directs the user to devenv.nix.
@domenkozar domenkozar merged commit 0b830c1 into cachix:main Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

direnv loses file watching when devenv build fails

2 participants