Skip to content

Time is not colored properly in console #2098

@kayo5994

Description

@kayo5994

What were you expecting to happen?

When I pass the --no-color flag, I expect the output to be in black and white.

What actually happened?

The time was still in gray. (see the attached screenshot)

It looks like the package color some of the logs using terminal-specific special characters.This is fine most of the time, but when I try to print them in non-terminal context (such as a webview), I see weird characters being inserted between the bracket and time characters.

Please post a sample of your gulpfile (preferably reduced to just the bit that's not working)

N/A

What version of gulp are you using?

Version 4.0

What versions of npm and node are you using?

Node v.7.8.0
npm v5.6.0

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions