File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ export abstract class PlatformLiveSyncServiceBase implements IPlatformLiveSyncSe
174174 let localToDevicePaths : Mobile . ILocalToDevicePathData [ ] = null ;
175175 let isFullSync = false ;
176176
177- if ( this . $options . clean || this . $ projectChangesService. currentChanges . changesRequireBuild ) {
177+ if ( this . $projectChangesService . currentChanges . changesRequireBuild ) {
178178 let buildConfig : IBuildConfig = {
179179 buildForDevice : ! device . isEmulator ,
180180 projectDir : this . $options . path ,
Original file line number Diff line number Diff line change @@ -375,7 +375,7 @@ export class PlatformService extends EventEmitter implements IPlatformService {
375375 return true ;
376376 }
377377 if ( buildConfig . clean ) {
378- return prepareInfo . time !== buildInfo . prepareTime ;
378+ return true ;
379379 }
380380 if ( prepareInfo . time === buildInfo . prepareTime ) {
381381 return false ;
@@ -467,7 +467,8 @@ export class PlatformService extends EventEmitter implements IPlatformService {
467467 keyStoreAlias : deployOptions . keyStoreAlias ,
468468 keyStoreAliasPassword : deployOptions . keyStoreAliasPassword ,
469469 keyStorePassword : deployOptions . keyStorePassword ,
470- keyStorePath : deployOptions . keyStorePath
470+ keyStorePath : deployOptions . keyStorePath ,
471+ clean : deployOptions . clean
471472 } ;
472473 let shouldBuild = await this . shouldBuild ( platform , projectData , buildConfig ) ;
473474 if ( shouldBuild ) {
You can’t perform that action at this time.
0 commit comments