From ef7c39e4e94d562f432604bad6c819a31a6f0171 Mon Sep 17 00:00:00 2001 From: Andy Malkin Date: Tue, 6 Feb 2024 16:06:09 -0800 Subject: [PATCH] update script to keep colors --- start.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/start.js b/start.js index c00f283..c4662fb 100644 --- a/start.js +++ b/start.js @@ -15,14 +15,5 @@ expoStart.stdout.on("data", (data) => { expoStart.on("close", () => { const env = { ...process.env, NODE_ENV: envName }; - - const expoRunAndroid = spawn("expo", ["run:android"], { env }); - - expoRunAndroid.stdout.on("data", (data) => { - console.log(`${data}`); - }); - - expoRunAndroid.stderr.on("data", (data) => { - console.error(`${data}`); - }); + spawn("expo", ["run:android"], { env, stdio: 'inherit' }); });