fix port issue

This commit is contained in:
Dax Raad
2025-06-03 16:35:37 -04:00
parent 37c34fd39c
commit 1e063e7937
3 changed files with 6 additions and 3 deletions

View File

@@ -43,6 +43,10 @@ cli.command("", "Start the opencode in interactive mode").action(async () => {
stdout: "inherit",
stderr: "inherit",
stdin: "inherit",
env: {
...process.env,
OPENCODE_SERVER: server.url.toString(),
},
onExit: () => {
server.stop()
},