update script to keep colors
This commit is contained in:
parent
ee085cbbb1
commit
ef7c39e4e9
11
start.js
11
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' });
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user