ui/envrc: watch more files
This commit is contained in:
@@ -2,9 +2,11 @@
|
|||||||
|
|
||||||
source_up
|
source_up
|
||||||
|
|
||||||
|
files=(flake-module.nix package.json package-lock.json)
|
||||||
if type nix_direnv_watch_file &>/dev/null; then
|
if type nix_direnv_watch_file &>/dev/null; then
|
||||||
nix_direnv_watch_file flake-module.nix
|
nix_direnv_watch_file "${files[@]}"
|
||||||
else
|
else
|
||||||
direnv watch flake-module.nix
|
watch_file "${files[@]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
use flake .#ui --builders ''
|
use flake .#ui --builders ''
|
||||||
|
|||||||
Reference in New Issue
Block a user