diff --git a/packages/core/src/service/Project.ts b/packages/core/src/service/Project.ts index afbb0e7c1..e25d26025 100644 --- a/packages/core/src/service/Project.ts +++ b/packages/core/src/service/Project.ts @@ -337,6 +337,7 @@ export class Project implements ExternalEventEmitter { this.#configService.on('changed', ({ config }) => { this.config = config + this.#excludeMatcher = fileUtil.createMatcher(this.config.env.exclude) this.logger.info('[Project] [Config] Changed') }).on( 'error',