1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-03-11 13:41:43 +00:00

Always make buildgrammars before running tsc

Avoid race condition between `make watchgrammars` and `$(TSC) -w --preserveWatchOutput` on first run of `make tsweb` (when `gen/` is emtpy.
This commit is contained in:
Fred Sauer
2026-02-28 18:37:49 -08:00
committed by GitHub
parent 44f8b97ca5
commit 9c43d0f1ea

View File

@@ -59,6 +59,7 @@ tsweb: submodules node_modules
npm run esbuild-clean
(ip addr || ifconfig) | grep inet
trap 'kill 0' EXIT; \
make buildgrammars; \
$(TSC) -w --preserveWatchOutput & \
make watchgrammars & \
npm run esbuild-worker -- --watch & \