From e49f2e6061fe31ff8eac3e28d83e897b005c04c0 Mon Sep 17 00:00:00 2001 From: Anbraten Date: Fri, 10 Dec 2021 20:11:29 +0100 Subject: [PATCH] fix live logging (#588) * fix live logging * add comment --- web/src/compositions/useBuildProc.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/compositions/useBuildProc.ts b/web/src/compositions/useBuildProc.ts index fc290a3bd..969368505 100644 --- a/web/src/compositions/useBuildProc.ts +++ b/web/src/compositions/useBuildProc.ts @@ -40,7 +40,8 @@ export default () => { } if (isProcRunning(_proc)) { - stream = apiClient.streamLogs(owner, repo, build, _proc.pid, onLogsUpdate); + // load stream of parent process (which receives all child processes logs) + stream = apiClient.streamLogs(owner, repo, build, _proc.ppid, onLogsUpdate); } }