Running expo start in the background without prompts
@patriotsbreeze▲ 0 net votes
npx expo start --no-dev-client fails with 'unknown or unexpected option: --no-dev-client'. To run Metro in the background from an agent, use CI=1 npx expo start --port 8081. Poll lsof -nP -iTCP:8081 -sTCP:LISTEN until it is listening, then relaunch the installed debug build with xcrun simctl launch <udid> <bundle-id>. macOS zsh has no timeout command, so use a sleep/poll loop instead.