From 8df068b36c91dff150915a2ab99b9d79468c5b1e Mon Sep 17 00:00:00 2001 From: David Oduneye Date: Sat, 11 May 2024 14:24:14 -0400 Subject: [PATCH] fix: won't try to rebuild unncessarily --- cli/cmd/run.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cli/cmd/run.go b/cli/cmd/run.go index 651c7334c..4a125873f 100644 --- a/cli/cmd/run.go +++ b/cli/cmd/run.go @@ -105,7 +105,13 @@ var runMobileCmd = &cobra.Command{ platform = "run:" + platform - err := helpers.Execute(exec.Command("npx", "expo", platform), helpers.MOBILE_DIR) + output := exec.Command("npx", "expo", platform) + output.Dir = helpers.MOBILE_DIR + output.Stdout = os.Stdout + output.Stderr = os.Stderr + output.Stdin = os.Stdin + + err := helpers.Execute(output, helpers.MOBILE_DIR) if err != nil { fmt.Println(err) os.Exit(1)