Add a typescript watch service so TS assets rebuild automatically

Previously the compiled TypeScript output only existed after manually
running `bin/console typescript:build`, so a fresh checkout/worktree (or a
`just clean`) would 500 on any page rendering a TS asset until someone
remembered to build it by hand. Mirrors the existing sass watch service,
including sharing a named volume with php since the Dockerfile's
`VOLUME /app/var/` otherwise gives every container its own private,
unsynced /app/var.

Also add a `just compose` passthrough recipe for ad-hoc docker compose
commands (logs, ps, top, etc.) using the worktree's env.
This commit is contained in:
2026-07-14 13:14:31 +02:00
parent b290620cf9
commit 32daa17e0d
2 changed files with 22 additions and 1 deletions
+3
View File
@@ -71,6 +71,9 @@ up *args: init
set +a
docker compose up -d {{ args }}
compose *args:
docker compose {{ args }}
down *args:
docker compose down --remove-orphans {{ args }}