Skip to content

Commit e4368a8

Browse files
committed
fix(cordova): revert to --no-connect as default
see #4060 (comment) fixes #4060
1 parent 79a37e7 commit e4368a8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/ionic/src/commands/cordova/run.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ const NATIVE_RUN_OPTIONS: readonly CommandMetadataOption[] = [
2828
},
2929
{
3030
name: 'connect',
31-
summary: 'Do not tie the running app to the process',
31+
summary: 'Tie the running app to the process',
3232
type: Boolean,
33-
default: true,
3433
groups: ['native-run'],
3534
hint: weak('[native-run] (--livereload)'),
3635
},

packages/ionic/src/lib/native-run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export interface RunNativeRunDeps {
7777

7878
export async function runNativeRun({ config, log, shell }: RunNativeRunDeps, args: readonly string[], options: IShellRunOptions = {}): Promise<void> {
7979
const connect = args.includes('--connect');
80-
const stream = connect ? createPrefixedWriteStream(log, weak(`[native-run]`)) : undefined;
80+
const stream = createPrefixedWriteStream(log, weak(`[native-run]`));
8181

8282
try {
8383
await shell.run('native-run', args, { showCommand: !args.includes('--json'), fatalOnNotFound: false, stream, ...options });

0 commit comments

Comments
 (0)