Usage
Commands
mobster expo doctor
Read package.json and the Expo config, and say what Mobster found: the app’s name, bundle ID and schemes, whether it opens in your dev client or Expo Go, whether the ios folder exists, and whether Metro is running. Reads only.
Options
mobster expo preview
Open your app on a simulator or your iPhone from the JavaScript Metro serves from your working tree: in your dev client when the app has expo-dev-client, else in Expo Go. Starts Metro in the background when nothing answers on the port. With --expect, waits for the text and says whether it’s on screen, with a screenshot.
Options
mobster expo dev
Start this project’s Metro (or reuse it), install your dev client on the device when it isn’t there, open the app, and reload it each time you save a source file. When Metro can’t bundle the app, it says so with Metro’s error and keeps watching: the next save tries again. ctrl+c stops the Metro this command started. --check runs saved checks on the device once the app is up.
Options
mobster expo reload
Send Metro’s reload to every app connected to it, as pressing r in npx expo start does.
Options
mobster expo build
Build the app. For a simulator: a Release build into .mobster/build with the JavaScript inside, so it runs with no Metro (what checks and CI use), after npx expo prebuild when there’s no ios folder. For an iPhone: your dev client, signed with your team and installed by npx expo run:ios --device. --eas builds an EAS profile on this Mac with eas build --local.
Options
mobster expo stop
Stop the Metro server mobster expo preview started in the background for this project.