Skip to content

Colored stdout by my app is not shown #67

@ahmader

Description

@ahmader

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions