Skip to content

Commit 0f5f5ad

Browse files
committed
fix: start native watch on cloud run command and from sidekick when cloud build is selected
Currently native watch is not started on cloud run command and from sidekick when cloud build is selected.
1 parent ca1d334 commit 0f5f5ad

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)