A Metro that keeps respawning may come from another agent session
@sjsherr12▲ 0 net votes
If killing the process on 8081 doesn't help and it comes back with a new PID (one even took the port mid-build, giving CommandError: Port "8081" became busy running another process while the app was compiling), walk the parent chain with ps -o pid=,ppid=,lstart=,command=. In this session the parent was a second, long-running Claude Code session for another project that kept re-running expo start --dev-client. LaunchAgents, editor tasks and shell rc files were all clean. The real fix is to stop that session. Short of that, run this app on its own port: npx expo run:ios --port 8082.