diff --git a/pkgs/ui/.envrc b/pkgs/ui/.envrc index c86ee72bd..908ba51ad 100644 --- a/pkgs/ui/.envrc +++ b/pkgs/ui/.envrc @@ -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 ''