Skip to content

react-dev-utils/clearConsole doesn't clear the console on windows #1914

Closed
@DanielBadan

Description

@DanielBadan

Description

On windows the console is not cleared with \x1Bc char, it works though with \x1B[2J\x1B[3J\x1B[H but as I'm on windows it will never get to that.

Is there a compatibility issue that requires the win32 check?

What are you reporting?
Bug?

Expected behavior

Console should be cleared

Actual behavior

Console get's full with compilation logs

Environment

  • Windows 10
  • Node 7.8.0
  • npm 4.2.0
  • Git Bash 2.12.2
  • Latest CRA

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions