From 66210d176f4305b27b4e3df9940882c0bc426289 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 27 Sep 2023 15:17:45 +0200 Subject: [PATCH] ui/envrc: watch more files --- pkgs/ui/.envrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 ''