Skip to content

refactor(project): Replace chokidar with @parcel/watcher#1400

Open
matz3 wants to merge 1 commit into
mainfrom
replace-chokidar-with-parcel-watcher
Open

refactor(project): Replace chokidar with @parcel/watcher#1400
matz3 wants to merge 1 commit into
mainfrom
replace-chokidar-with-parcel-watcher

Conversation

@matz3
Copy link
Copy Markdown
Member

@matz3 matz3 commented Jun 1, 2026

Watching a large number of files with chokidar is not efficient, especially on Windows and slow file systems.

Parcel's watcher is more efficient as it uses a native C++ Node module.

Changing WatchHandler log level to "silly" to avoid duplicate log entries as BuildServer already logs the events at "verbose" level.

@matz3 matz3 requested a review from a team June 1, 2026 13:41
@matz3 matz3 force-pushed the replace-chokidar-with-parcel-watcher branch from 19dcaf2 to 4d94da3 Compare June 2, 2026 12:30
@matz3 matz3 changed the title refactor: Replace chokidar with @parcel/watcher refactor(project): Replace chokidar with @parcel/watcher Jun 2, 2026
Watching a large number of files with chokidar is not efficient,
especially on Windows and slow file systems.

Parcel's watcher is more efficient as it uses a native C++ Node module.

Changing WatchHandler log level to "silly" to avoid duplicate log
entries as BuildServer already logs the events at "verbose" level.
@matz3 matz3 force-pushed the replace-chokidar-with-parcel-watcher branch from 4d94da3 to dc94c88 Compare June 2, 2026 12:46
@matz3
Copy link
Copy Markdown
Member Author

matz3 commented Jun 2, 2026

This PR will most likely also solve sporadic test failures in BuildServer.integration.js.

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.

1 participant