Skip to content

Reduce workspace watcher inotify usage - #105

Merged
ymichael merged 1 commit into
mainfrom
bb/investigate-pnpm-dev-crash-thr_4gspvezxm9
Jun 12, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/investigate-pnpm-dev-crash-thr_4gspvezxm9

Conversation

@ymichael

Copy link
Copy Markdown
Collaborator

Summary

  • derive workspace-root Parcel ignore paths from Git ignored directory output instead of a fixed directory list
  • keep .git excluded while avoiding pruning directories that contain tracked files
  • cover the Git-ignore behavior in host-watcher tests

Measurement

On this checkout, a workspace-root Parcel subscription drops from 11,168 inotify marks to 225 marks. Full watchWorkspaceStatus drops from 11,179 to 236 marks.

Validation

  • pnpm exec turbo run test --filter=@bb/host-watcher
  • pnpm exec turbo run typecheck --filter=@bb/host-watcher
  • git diff --check

@ymichael
ymichael merged commit b4eb5d9 into main Jun 12, 2026
6 checks passed
@ymichael
ymichael deleted the bb/investigate-pnpm-dev-crash-thr_4gspvezxm9 branch June 12, 2026 18:05
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