summaryrefslogtreecommitdiffhomepage
path: root/js/src/index.ts
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-29 10:21:59 -0400
committerDax Raad <[email protected]>2025-05-29 10:22:07 -0400
commit33a831d2be1fd7bea60421287f118be0bd968650 (patch)
tree9b82f8b958fa78c18b13284b9c7cd496dcec651e /js/src/index.ts
parentd70201cd9365aec6c88f9794eb63f411f5040cb9 (diff)
downloadopencode-33a831d2be1fd7bea60421287f118be0bd968650.tar.gz
opencode-33a831d2be1fd7bea60421287f118be0bd968650.zip
rework types
Diffstat (limited to 'js/src/index.ts')
-rw-r--r--js/src/index.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/src/index.ts b/js/src/index.ts
index 9ba9535a1..d5b388166 100644
--- a/js/src/index.ts
+++ b/js/src/index.ts
@@ -15,6 +15,13 @@ cli.command("", "Start the opencode in interactive mode").action(async () => {
await App.provide({ directory: process.cwd() }, async () => {
await Share.init();
Server.listen();
+
+ Bun.spawnSync({
+ stderr: "inherit",
+ stdout: "inherit",
+ stdin: "inherit",
+ cmd: ["go", "run", "cmd/main.go"],
+ });
});
});