Use build.sh script
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user