Skip to content

Commit e6ba2bc

Browse files
committed
fix: stop checking for newer files if a plugin with native change is already found
1 parent 08bb4a8 commit e6ba2bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/project-changes-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class ProjectChangesService implements IProjectChangesService {
6868
this.$nodeModulesDependenciesBuilder.getProductionDependencies(projectData.projectDir)
6969
.filter(dep => dep.nativescript && this.$fs.exists(path.join(dep.directory, "platforms", platformData.platformNameLowerCase)))
7070
.map(dep => {
71-
this._changesInfo.nativeChanged = this.containsNewerFiles(
71+
this._changesInfo.nativeChanged = this._changesInfo.nativeChanged || this.containsNewerFiles(
7272
path.join(dep.directory, "platforms", platformData.platformNameLowerCase),
7373
projectData,
7474
this.fileChangeRequiresBuild);

0 commit comments

Comments
 (0)