From de9bff0ebc653eb1f936e95660dde5091b8da7d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Bou=C3=A7as?= Date: Mon, 22 Jan 2024 10:48:59 +0000 Subject: [PATCH] fix: pipe log output in server (#568) --- node/bridge.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/bridge.ts b/node/bridge.ts index 54fbc5fe..fbff5b22 100644 --- a/node/bridge.ts +++ b/node/bridge.ts @@ -253,12 +253,12 @@ class DenoBridge { async runInBackground( args: string[], ref?: ProcessRef, - { env: inputEnv, extendEnv = true, stderr, stdout }: RunOptions = {}, + { env: inputEnv, extendEnv = true, pipeOutput, stderr, stdout }: RunOptions = {}, ) { const { path: binaryPath } = await this.getBinaryPath() const env = this.getEnvironmentVariables(inputEnv) const options: Options = { env, extendEnv } - const ps = DenoBridge.runWithBinary(binaryPath, args, { options, stderr, stdout }) + const ps = DenoBridge.runWithBinary(binaryPath, args, { options, pipeOutput, stderr, stdout }) if (ref !== undefined) { // eslint-disable-next-line no-param-reassign