Parcel: 馃悰IntelliJ terminal output not clearing lines

Created on 4 May 2018  路  5Comments  路  Source: parcel-bundler/parcel

When running parcel from inside of Webstorm's Terminal or a Run Configuration, parcel's "Building ..." messages all show up on a single line. Running in a regular terminal, they are clearing the previous line and overwriting it.

馃帥 Configuration (.babelrc, package.json, cli command)

This happens with any site I've tried with parcel and does not see to be configuration based.

馃 Expected Behavior

I expect either to have new lines between the "Building..." lines, or for it to work the exact same as in a regular terminal.

馃槸 Current Behavior

As you can see from this screen shot:

image

It is not correctly clearing the previous line.

馃拋 Possible Solution

This is, arguably an IntelliJ bug. However, I don't know what parcel is doing that's different from any of the other tools (ex: npm, yarn) that clear the line and replace it (all of which work). I would love to see parcel either use the same mechanism as other packages that do this correctly, or a CLI option for parcel to forego clearing the line and instead putting a new line between messages.

馃敠 Context

It makes it incredibly difficult to read error messages output during the parcel build. (I have to scroll right and look for any red text.)

馃實 Your Environment

I've tried with Webstorm, IntelliJ IDEA, and PyCharm; all have this issue.

Bug Help Wanted

All 5 comments

Try setting the environment variable FORCE_COLOR=0 in your run configuration, this turns off most of the fancy styling and prints each status on its own line.

That worked! I would still like color, and the fancy, but until whatever's wrong with that can be worked through, this is much more survivable.

I'll give it a test tonight, and let you know. I will say that I've used ora in webstorm before, and it works great, so I have high hopes!

@DeMoorJasper Sorry it took so long, but #1472 definitely fixes this issue:

2018-06-03 18 56 30

Thanks so much!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

urbanhop picture urbanhop  路  3Comments

davidnagli picture davidnagli  路  3Comments

will-stone picture will-stone  路  3Comments

philipodev picture philipodev  路  3Comments

dsky1990 picture dsky1990  路  3Comments