Skip to content

Commit 4193a57

Browse files
committed
docs
1 parent c8840cf commit 4193a57

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

packages/platform-android/src/lib/commands/runAndroid/runAndroid.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ export const runOptions = [
304304
},
305305
{
306306
name: '--dev-server',
307-
description:
308-
'Enable automatic bundler detection and switching for Android apps.',
307+
description: 'Automatically start a dev server (bundler) after building the app.',
309308
},
310309
];

packages/platform-apple-helpers/src/lib/commands/run/runOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const getRunOptions = ({ platformName }: BuilderCommand) => {
3838
},
3939
{
4040
name: '--dev-server',
41-
description: 'Automatically start a dev server after building the app.',
41+
description: 'Automatically start a dev server (bundler) after building the app.',
4242
},
4343
...getBuildOptions({ platformName }),
4444
];

website/src/docs/cli/introduction.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -182,13 +182,14 @@ The build cache is populated either by a local build or when downloaded frome re
182182

183183
`run:ios` extends the functionality of `build:ios` with additional runtime options.
184184

185-
| Option | Description |
186-
| :----------------------- | :---------------------------------------- |
187-
| `--port <number>` | Bundler port (default: 8081) |
188-
| `--binary-path <string>` | Path to pre-built .app binary |
189-
| `--device <string>` | Device/simulator to use (by name or UDID) |
190-
| `--catalyst` | Run on Mac Catalyst |
191-
| `--local` | Force local build with xcodebuild |
185+
| Option | Description |
186+
| :----------------------- | :----------------------------------------------------------------- |
187+
| `--port <number>` | Bundler port (default: 8081) |
188+
| `--binary-path <string>` | Path to pre-built .app binary |
189+
| `--device <string>` | Device/simulator to use (by name or UDID) |
190+
| `--catalyst` | Run on Mac Catalyst |
191+
| `--local` | Force local build with xcodebuild |
192+
| `--dev-server` | Automatically start a dev server (bundler) after building the app. |
192193

193194
You can also pass the same environmental variables listed in [`build:ios` options](#supported-environmental-variables) to the `run:ios` command.
194195

@@ -235,12 +236,13 @@ The `run:android` command runs your Android app on an emulator or device. It ext
235236

236237
Same as for `build:android` and:
237238

238-
| Option | Description |
239-
| :------------------------- | :------------------------------------ |
240-
| `--app-id <string>` | Application ID |
241-
| `--app-id-suffix <string>` | Application ID suffix |
242-
| `--binary-path <string>` | Path to pre-built APK |
243-
| `--local` | Force local build with Gradle wrapper |
239+
| Option | Description |
240+
| :------------------------- | :----------------------------------------------------------------- |
241+
| `--app-id <string>` | Application ID |
242+
| `--app-id-suffix <string>` | Application ID suffix |
243+
| `--binary-path <string>` | Path to pre-built APK |
244+
| `--local` | Force local build with Gradle wrapper |
245+
| `--dev-server` | Automatically start a dev server (bundler) after building the app. |
244246

245247
### `rock sign:android` Options
246248

0 commit comments

Comments
 (0)