update script to keep colors

This commit is contained in:
Andy Malkin 2024-02-06 16:06:09 -08:00
parent ee085cbbb1
commit ef7c39e4e9

View File

@ -15,14 +15,5 @@ expoStart.stdout.on("data", (data) => {
expoStart.on("close", () => { expoStart.on("close", () => {
const env = { ...process.env, NODE_ENV: envName }; const env = { ...process.env, NODE_ENV: envName };
spawn("expo", ["run:android"], { env, stdio: 'inherit' });
const expoRunAndroid = spawn("expo", ["run:android"], { env });
expoRunAndroid.stdout.on("data", (data) => {
console.log(`${data}`);
});
expoRunAndroid.stderr.on("data", (data) => {
console.error(`${data}`);
});
}); });