Skip to content

Commit b514eae

Browse files
tzraikovTsvetan Raikov
authored andcommitted
Fixed: App is rebuild everytime when using --release flag (#2415)
1 parent 3455976 commit b514eae

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
@@ -314,7 +314,7 @@ export class PlatformService implements IPlatformService {
314314

315315
public shouldBuild(platform: string, buildConfig?: IBuildConfig): IFuture<boolean> {
316316
return (() => {
317-
if (this.$options.release || this.$projectChangesService.currentChanges.changesRequireBuild) {
317+
if (this.$projectChangesService.currentChanges.changesRequireBuild) {
318318
return true;
319319
}
320320
let platformData = this.$platformsData.getPlatformData(platform);

0 commit comments

Comments
 (0)