Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colored stdout by my app is not shown #67

Open
ahmader opened this issue Jun 29, 2017 · 0 comments
Open

Colored stdout by my app is not shown #67

ahmader opened this issue Jun 29, 2017 · 0 comments

Comments

@ahmader
Copy link
Contributor

ahmader commented Jun 29, 2017

Using info() in serverLog() caused my node app logs to be un-colored.
If I use
{ stdio : 'inherit' }
Then I lose the console.warn colors as stderr will arrive to stdout. But I will see stdout colors.

To fix this, I used this option to overcome this issue.
{ stdio : ['pipe', 'inherit', 'pipe'] }

Now I see the colors as per my node app logs and also any warning will come to stderr and colored by serverError()

PS. I had to remove info() from the serverLog() function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant