Skip to content

Commit

Permalink
Merge pull request #1538 from cachix/watch-lock
Browse files Browse the repository at this point in the history
cli: watch the lock file for changes
  • Loading branch information
domenkozar authored Oct 17, 2024
2 parents 11c71a5 + 1e54059 commit f75f4e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions devenv/src/cnix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ impl<'a> Nix<'a> {
let mut cached_cmd = CachedCommand::new(&self.pool);

cached_cmd.watch_path(self.devenv_root.join("devenv.yaml"));
cached_cmd.watch_path(self.devenv_root.join("devenv.lock"));

cached_cmd.unwatch_path(self.devenv_root.join(".devenv.flake.nix"));
// Ignore anything in .devenv.
Expand Down

0 comments on commit f75f4e7

Please sign in to comment.