Skip to content

Commit

Permalink
cli: watch the lock file for changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Oct 17, 2024
1 parent 9803535 commit 1e54059
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 1e54059

Please sign in to comment.