fix: watch file only when enable nix in envrc

This commit is contained in:
ulic-youthlic 2025-11-05 04:38:49 +08:00
parent 9b490e97d5
commit 9823c21787
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

3
.envrc
View file

@ -1,5 +1,4 @@
watch_file ./flake.lock **/*.nix
if has nix; then
watch_file ./flake.lock **/*.nix
use flake
fi