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

🐛IntelliJ terminal output not clearing lines #1293

Closed
Morgul opened this issue May 4, 2018 · 5 comments · Fixed by #1472
Closed

🐛IntelliJ terminal output not clearing lines #1293

Morgul opened this issue May 4, 2018 · 5 comments · Fixed by #1472

Comments

@Morgul
Copy link

Morgul commented May 4, 2018

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.

@dobesv
Copy link
Contributor

dobesv commented May 9, 2018

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.

@Morgul
Copy link
Author

Morgul commented May 9, 2018

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.

@DeMoorJasper
Copy link
Member

Does #1472 fix this issue?

@Morgul
Copy link
Author

Morgul commented Jun 1, 2018

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!

@Morgul
Copy link
Author

Morgul commented Jun 3, 2018

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

2018-06-03 18 56 30

Thanks so much!

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

Successfully merging a pull request may close this issue.

3 participants