Skip to content

Conversation

@veracioux
Copy link
Contributor

@veracioux veracioux commented Oct 31, 2025

I often do something like export BUN_OPTIONS='--inspect-wait=localhost:6499/' before running bun dev.
In the opentui branch, I usually use bun dev spawn so I can get working debugger endpoints in server.ts. Before this fix, the attach subprocess spawned by bun dev spawn would inherit BUN_OPTIONS, causing a port conflict.

Even as a more general principle, I think we shouldn't blindly pass BUN_OPTIONS to subprocesses.

@veracioux veracioux changed the title opencode: fix: TUI spawn: reset BUN_OPTIONS fix: TUI spawn: reset BUN_OPTIONS Nov 1, 2025
@veracioux veracioux changed the base branch from opentui to dev November 1, 2025 13:24
@veracioux veracioux force-pushed the fix/tui-spawn-reset-bun-options branch from ff9a562 to fe08a35 Compare November 1, 2025 13:26
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