Skip to content

Conversation

@sapphi-red
Copy link
Member

Since fsevents is always recursive, we can skip watching the nested files if a ancestor path is watched.

@sapphi-red sapphi-red merged commit f7619f1 into main Dec 19, 2025
9 checks passed
@sapphi-red sapphi-red deleted the 12-19-perf_only_watch_the_top-most_path_for_fsevents_watcher branch December 19, 2025 11:12
@Boshen Boshen mentioned this pull request Dec 19, 2025
graphite-app bot pushed a commit to rolldown/rolldown that referenced this pull request Dec 22, 2025
Now that I implemented some improvements (rolldown/notify#59, rolldown/notify#60), it doesn't error on large projects. kqueue doesn't have a way to watch recursively, so it's faster to use fsevent which supports recursive watches.
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.

2 participants