fix live logging (#588)

* fix live logging
* add comment
This commit is contained in:
Anbraten 2021-12-10 20:11:29 +01:00 committed by GitHub
parent f0f70dd3f2
commit e49f2e6061
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}