From b128752a4a7d7d469b8b1bbb2adf8e0f22c7ced6 Mon Sep 17 00:00:00 2001 From: David Oduneye <44040421+DOOduneye@users.noreply.github.com> Date: Sat, 11 May 2024 11:59:08 -0700 Subject: [PATCH] fix: expo cli interactive from cli (#771) --- 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)