fix: Opencode hangs after exit (#3481)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
co-authored by
Aiden Cline
parent
51e4c9fc4c
commit
c1ada302f9
@@ -27,6 +27,6 @@ export const ServeCommand = cmd({
|
||||
})
|
||||
console.log(`opencode server listening on http://${server.hostname}:${server.port}`)
|
||||
await new Promise(() => {})
|
||||
server.stop()
|
||||
await server.stop()
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user