Skip to content

Commit 75085a4

Browse files
authored
Merge pull request #4661 from NativeScript/fatme/fix-build
fix: prepare the project only once per run
2 parents c119d3e + 897b2a4 commit 75085a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/helpers/livesync-command-helper.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class LiveSyncCommandHelper implements ILiveSyncCommandHelper {
8181

8282
const buildAction = additionalOptions && additionalOptions.buildPlatform ?
8383
additionalOptions.buildPlatform.bind(additionalOptions.buildPlatform, d.deviceInfo.platform, buildConfig, this.$projectData) :
84-
this.$buildController.prepareAndBuild.bind(this.$buildController, buildData);
84+
this.$buildController.build.bind(this.$buildController, buildData);
8585

8686
const outputPath = additionalOptions && additionalOptions.getOutputDirectory && additionalOptions.getOutputDirectory({
8787
platform: d.deviceInfo.platform,

0 commit comments

Comments
 (0)