Skip to content

Commit cec2906

Browse files
authored
Merge pull request #4849 from NativeScript/fatme/native-watch-cloud
fix: start native watch on cloud run command and from sidekick when cloud build is selected
2 parents b04ff39 + 0f5f5ad commit cec2906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/controllers/prepare-controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export class PrepareController extends EventEmitter {
122122
}
123123

124124
private async startNativeWatcherWithPrepare(platformData: IPlatformData, projectData: IProjectData, prepareData: IPrepareData): Promise<boolean> {
125-
if ((prepareData.nativePrepare && prepareData.nativePrepare.skipNativePrepare) || this.watchersData[projectData.projectDir][platformData.platformNameLowerCase].nativeFilesWatcher) {
125+
if (this.watchersData[projectData.projectDir][platformData.platformNameLowerCase].nativeFilesWatcher) {
126126
return false;
127127
}
128128

0 commit comments

Comments
 (0)