Skip to content

Commit 43b566c

Browse files
author
Dimitar Kerezov
committed
refactor: allow pass skipnativeprepare
1 parent 414d0d3 commit 43b566c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

lib/commands/debug.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ export class DebugPlatformCommand implements ICommand {
4242
[selectedDeviceForDebug.deviceInfo.identifier]: true
4343
},
4444
// This will default in the liveSyncCommandHelper
45-
buildPlatform: undefined
45+
buildPlatform: undefined,
46+
skipNativePrepare: false
4647
});
4748
}
4849

lib/definitions/livesync.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ interface IDevicePathProvider {
384384
/**
385385
* Describes additional options, that can be passed to LiveSyncCommandHelper.
386386
*/
387-
interface ILiveSyncCommandHelperAdditionalOptions extends IBuildPlatformAction {
387+
interface ILiveSyncCommandHelperAdditionalOptions extends IBuildPlatformAction, INativePrepare {
388388
/**
389389
* A map representing devices which have debugging enabled initially.
390390
*/

lib/helpers/livesync-command-helper.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ export class LiveSyncCommandHelper implements ILiveSyncCommandHelper {
9393
platform,
9494
emulator: d.isEmulator,
9595
projectDir: this.$projectData.projectDir
96-
})
96+
}),
97+
skipNativePrepare: additionalOptions && additionalOptions.skipNativePrepare
9798
};
9899

99100
return info;

0 commit comments

Comments
 (0)