From 99647ea79804f215ab5be3ddd3a20ee1072a791c Mon Sep 17 00:00:00 2001 From: Eric Bell Date: Thu, 13 Aug 2026 16:57:53 -0400 Subject: [PATCH] fix: tailwind watcher wasn't running --- worker-toolkit-stocks-in-the-future/explore/run-app.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/worker-toolkit-stocks-in-the-future/explore/run-app.sh b/worker-toolkit-stocks-in-the-future/explore/run-app.sh index 6436d0a..cf67d24 100644 --- a/worker-toolkit-stocks-in-the-future/explore/run-app.sh +++ b/worker-toolkit-stocks-in-the-future/explore/run-app.sh @@ -667,6 +667,13 @@ start_rails() { local login_hint="${1:-}" url_note="${2:-}" _spawn app /workspace/repo "bin/rails server -b 0.0.0.0 -p 3000" printf " ${YELLOW}\xe2\x96\xb6${RESET} starting Rails (puma)\xe2\x80\xa6\n" + # Repos built on tailwindcss-rails need the watcher running too, or their + # compiled app/assets/builds/application.css never gets generated and Propshaft + # silently falls back to serving an unrelated same-named stylesheet instead. + if [ -d /workspace/repo/app/assets/tailwind ]; then + _spawn css /workspace/repo "bin/rails tailwindcss:watch" + printf " ${YELLOW}\xe2\x96\xb6${RESET} starting Tailwind CSS watcher\xe2\x80\xa6\n" + fi printf " ${GRAY}\xe2\x8f\xb3 waiting for the app to come up\xe2\x80\xa6${RESET}\n" if _wait_tcp 3000; then printf " ${YELLOW}\xe2\x9c\x85 app is up${RESET}\n"