From 13bdfff9f80a5f6522f17b5b73dd12d7ed48085d Mon Sep 17 00:00:00 2001 From: Loewy Date: Tue, 6 Feb 2024 16:15:46 -0800 Subject: [PATCH] remove logs, tested --- start.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/start.js b/start.js index c4662fb..7d776da 100644 --- a/start.js +++ b/start.js @@ -5,15 +5,12 @@ const envName = process.argv[2]; const expoStart = spawn("expo", ["start", "-c"]); expoStart.stdout.on("data", (data) => { - console.log(`${data}`); - if (data.toString().includes("Logs for your project will appear below")) { - console.log("Shutting down the server..."); expoStart.kill("SIGINT"); } }); expoStart.on("close", () => { const env = { ...process.env, NODE_ENV: envName }; - spawn("expo", ["run:android"], { env, stdio: 'inherit' }); + spawn("expo", ["run:android"], { env, stdio: "inherit" }); });