Skip to content

Conversation

@pschiel
Copy link
Contributor

@pschiel pschiel commented Jan 1, 2026

Problem:

  • for debugging, bun needs to start in the development build directory
  • makes it currently impossible to debug different scenarios/projects

This patch adds positional argument for cwd folder opencode serve [cwd]

Usage:

bun run --cwd ${OPENCODE_DEV_PATH} --inspect-wait=ws://localhost:6499/ ./src/index.ts \
  serve --port 4096 /my/project/path

@pschiel pschiel changed the title (feat) add optional project path argument to serve command (feat) add optional cwd path argument to serve command Jan 4, 2026
@pschiel pschiel force-pushed the serve-project-argument branch from 3c40713 to afe5d88 Compare January 4, 2026 16:55
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