ui/envrc: watch more files
This commit is contained in:
parent
612a9e411c
commit
66210d176f
@ -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 ''
|
||||
|
Loading…
Reference in New Issue
Block a user