Reputation: 24825
When doing a local EAS build to deploy to my device or production EAS always starts a new terminal window with a "metro start" or "expo start". It is annoying because metro is not used in my preview or production builds. Furthermore it starts a new terminal command like when I am using iTerm2 and even starting the EAS build from iTerm2.
How do I stop this step of the EAS local build?
eas build --local --clear-cache --profile production --platform ios --non-interactive eas build --local --clear-cache --profile preview --platform ios --non-interactive
{
"cli": {
"version": ">= 5.9.1"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal",
"android": {
"gradleCommand": ":app:assembleDebug"
},
"ios": {
"buildConfiguration": "Debug"
}
},
"preview": {
"distribution": "internal",
"ios": {}
},
"production": {
"distribution": "store",
"ios": {
"autoIncrement": "version"
}
}
},
"submit": {
"production": {}
}
}
Upvotes: 0
Views: 462
Reputation: 24825
Partial solution:
To force build command to use iterm2 as terminal you need to associate .command extension to run with iterm2.
this is the command that gets launched during the build process.
node_modules/react-native/scripts/launchPackager.command
I still need to figure out how to turn it off compeletely.
Upvotes: 0