Skip to content

Commit 2295fda

Browse files
authored
Fixed: App is rebuild everytime when using --release flag (#2415)
1 parent 74c8c69 commit 2295fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/platform-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ export class PlatformService implements IPlatformService {
333333

334334
public shouldBuild(platform: string, buildConfig?: IBuildConfig): IFuture<boolean> {
335335
return (() => {
336-
if (this.$options.release || this.$projectChangesService.currentChanges.changesRequireBuild) {
336+
if (this.$projectChangesService.currentChanges.changesRequireBuild) {
337337
return true;
338338
}
339339
let platformData = this.$platformsData.getPlatformData(platform);

0 commit comments

Comments
 (0)