From db80ffcb2e3badcbdc21455f034ef001b88d8325 Mon Sep 17 00:00:00 2001 From: Fred Sauer Date: Sun, 22 Feb 2026 12:34:12 -0800 Subject: [PATCH] Less flaky `make tsweb` on first run Avoids spurious error messages when `tsweb` is run after fresh checkout by depending on `submodules` and `buildgrammars`. This ensures both are fully finished before spawn several child processes that will race each other. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8dbe273f..dcbc9913 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ distro: buildtsc rm -r $(TMP)/doc $(TMP)/scripts $(TMP)/test* $(TMP)/tools $(TMP)/.[a-z]* $(TMP)/ts*.json # $(TMP)/meta rm -f $(TMP)/javatari && mkdir -p $(TMP)/javatari && cp -p javatari.js/release/javatari/* $(TMP)/javatari/ -tsweb: +tsweb: submodules buildgrammars npm run esbuild-clean (ip addr || ifconfig) | grep inet $(TSC) -w --preserveWatchOutput &