Skip to content

fix: match default watch ignores by path segment - #938

Merged
mcollina merged 2 commits into
fastify:mainfrom
Toufiqul-27:fix/watch-ignore-path-segments
Nov 26, 2026
Merged

mcollina merged 2 commits into
fastify:mainfrom
Toufiqul-27:fix/watch-ignore-path-segments

Conversation

@Toufiqul-27

Copy link
Copy Markdown
Contributor

Fixes #717.

Match default ignore directories as whole path segments on Windows and POSIX. Before, Chokidar ignored the entire any-builder project. After, it watches app.js and still ignores build/generated.js.

Validation: 25 targeted tests and ESLint passed.

@Tony133 Tony133 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina
mcollina merged commit a016b15 into fastify:main Nov 26, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Watcher is not working on builders

3 participants