diff --git a/lib/services/platform-service.ts b/lib/services/platform-service.ts index a3a1020f5c..0c7e758f3a 100644 --- a/lib/services/platform-service.ts +++ b/lib/services/platform-service.ts @@ -367,6 +367,10 @@ export class PlatformService extends EventEmitter implements IPlatformService { } public async shouldBuild(platform: string, projectData: IProjectData, buildConfig: IBuildConfig, outputPath?: string): Promise { + if (buildConfig.release && this.$projectChangesService.currentChanges.hasChanges) { + return true; + } + if (this.$projectChangesService.currentChanges.changesRequireBuild) { return true; }