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

ANSI colour codes are leaking #823

Closed
gajus opened this issue May 10, 2016 · 6 comments
Closed

ANSI colour codes are leaking #823

gajus opened this issue May 10, 2016 · 6 comments
Labels
bug current functionality does not work as desired

Comments

@gajus
Copy link

gajus commented May 10, 2016

$ ava --version
0.14.0

Description

ava ./tests --watch ./**/*.js command makes the type cursor invisible in iTerm2 (OSX).

ud2pdtb7yh

@vadimdemedes vadimdemedes added the bug current functionality does not work as desired label May 11, 2016
@novemberborn
Copy link
Member

I wonder if it's related to the Babel stack trace being spit out. Any chance you have a reproduction of this in a repo?

Watcher log output has changed a lot in master, could you try with npm install sindresorhus/ava#master?

@sindresorhus
Copy link
Member

It might also be restore-cursor not being able to catch the error. (It's using the exit-hook module for that).

@jamestalmage
Copy link
Contributor

@gajus - Which Node version are you using? I've noticed problems with streams not flushing entirely before process.exit much more on Node 6 than previous versions (that behavior has never been guaranteed, but it's much more problematic now).

@gajus
Copy link
Author

gajus commented May 12, 2016

I wonder if it's related to the Babel stack trace being spit out. Any chance you have a reproduction of this in a repo?

@novemberborn Sorry, that was a code in a private repository. I have not had a chance to test it using #master.

6.1.0

@jamestalmage v6.1.0.

@jamestalmage
Copy link
Contributor

Try in Node 5 and see if you have the same problem.

Sorry, that was a code in a private repository.

Creating an MCVE without proprietary/closed source code is the best way for us to troubleshoot the issue.

@novemberborn
Copy link
Member

Watch mode no longer crashes when Babel compilation fails, which means that the cursor can be restored when exiting watch mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug current functionality does not work as desired
Projects
None yet
Development

No branches or pull requests

5 participants