ui/envrc: watch more files
All checks were successful
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 20s

This commit is contained in:
Jörg Thalheim 2023-09-27 15:17:45 +02:00
parent 612a9e411c
commit 66210d176f

View File

@ -2,9 +2,11 @@
source_up
files=(flake-module.nix package.json package-lock.json)
if type nix_direnv_watch_file &>/dev/null; then
nix_direnv_watch_file flake-module.nix
nix_direnv_watch_file "${files[@]}"
else
direnv watch flake-module.nix
watch_file "${files[@]}"
fi
use flake .#ui --builders ''