flake: Use --watch=always for Tailwind watcher #574

merged
opened by isaaccorbrey.com targeting master from isaaccorbrey.com/core: icorbrey/push-vxyyvktxlnoy

This forces the watcher to stay alive when running non-interactively (e.g. when run from within Tilt).

Signed-off-by: Isaac Corbrey icorbrey@gmail.com

Changed files
+1 -1
+1 -1
flake.nix
···
tailwind-watcher =
pkgs.writeShellScriptBin "run"
''
-
${pkgs.tailwindcss}/bin/tailwindcss -w -i input.css -o ./appview/pages/static/tw.css
+
${pkgs.tailwindcss}/bin/tailwindcss --watch=always -i input.css -o ./appview/pages/static/tw.css
'';
in {
fmt = {