mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-07-14 22:05:18 +02:00
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: