Use build.sh script

This commit is contained in:
Michael Wolf
2026-01-01 14:09:51 -06:00
parent 1083655a3b
commit 51d24209b0

View File

@@ -69,7 +69,7 @@ func runExpress(changes <-chan FileChange) {
runBuild := func() bool { runBuild := func() bool {
log.Printf("[build] Starting ncc build...") log.Printf("[build] Starting ncc build...")
cmd := exec.Command("sh", "-c", "cd ../express && ../cmd pnpm ncc build ./app.ts") cmd := exec.Command("../express/build.sh")
stdout, _ := cmd.StdoutPipe() stdout, _ := cmd.StdoutPipe()
stderr, _ := cmd.StderrPipe() stderr, _ := cmd.StderrPipe()