Skip to content

Commit

Permalink
🐛 Update exclude matcher when changing config
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Jan 3, 2025
1 parent dc1df6a commit 0f77abf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/service/Project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 0f77abf

Please sign in to comment.