fix(cli): isolate server request traces (#37395)
This commit is contained in:
parent
309860558d
commit
331533deff
5 changed files with 65 additions and 6 deletions
|
|
@ -5,7 +5,7 @@ import { ServerProcess } from "../../server-process"
|
|||
|
||||
export default Runtime.handler(
|
||||
Commands.commands.serve,
|
||||
Effect.fn("cli.serve")(function* (input) {
|
||||
Effect.fnUntraced(function* (input) {
|
||||
if (input.service && input.stdio) return yield* Effect.fail(new Error("--service and --stdio cannot be combined"))
|
||||
return yield* ServerProcess.run({
|
||||
mode: input.service ? "service" : input.stdio ? "stdio" : "default",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue