Skip to content

Conversation

tianjianchn
Copy link
Contributor

Previously we use inherit in stdio param to spawn the http server process(or the child process), which will swallow the logs in child process and not be written to the code-server-stdout.log. Using pipe will fix this problem.

Fixes #

Previously we use `inherit` in stdio param to spawn the http server process(or the child process), which will swallow the logs in child process and not be written to the `code-server-stdout.log`. Using `pipe` will fix this problem.
@tianjianchn tianjianchn requested a review from a team as a code owner October 2, 2021 00:16
@jsjoeio jsjoeio added the bug Something isn't working label Oct 4, 2021
@jsjoeio
Copy link
Contributor

jsjoeio commented Oct 4, 2021

@code-asher do you mind reviewing this? I think last time we changed this code, it was when we found that bug thanks to the help from the ts-node maintainer.

Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahhhh I was wondering why we stopped getting output in the log file. Thank you for this fix!!

@code-asher code-asher merged commit 59f667e into coder:main Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants