Skip to content

fix(cli): package parcel watcher binding#37726

Open
loulanyue wants to merge 2 commits into
anomalyco:v2from
loulanyue:bun-watcher-asset
Open

fix(cli): package parcel watcher binding#37726
loulanyue wants to merge 2 commits into
anomalyco:v2from
loulanyue:bun-watcher-asset

Conversation

@loulanyue

@loulanyue loulanyue commented Jul 19, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #37686

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Ships the platform watcher.node beside each Bun executable and points compiled CLI runs at that sibling file unless an explicit path override is already set. This lets the existing watcher loader open the native addon from the real filesystem.

How did you verify your code works?

On macOS 26.4.1 arm64 with Bun 1.3.14, the compiled baseline logged watcher backend not supported. The rebuilt package logged watcher started with backend fs-events for the same isolated API reproduction and no path override.

Also passed packages/cli typecheck, compiled service lifecycle smoke test, Prettier, and oxlint with 0 errors. Oxlint retains one pre-existing CompileTarget assertion warning.

Screenshots / recordings

Not a UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels Jul 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jul 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant