-
Notifications
You must be signed in to change notification settings - Fork 29
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
--clear --color -w
causes duplicated output
#163
Comments
🤔 Huh I'll have to look into that when I get a chance. I agree with you, it shouldn't remove color when running through esw. It also shouldn't be duplicating errors. |
Thanks. Also,
|
for me simply using |
I've been running into a similar issue and I figured our by running
I fixed it by changing my eslint-watch command to EDIT: actually, using |
Environment
Basic Description of the problem
My team runs eslint with color output. Upon switching to eslint-watch, color was gone (we have an
.eslintrc.json
, I would expect esw to not change the behavior of eslint output). Upon adding--color
and--clear
(because obviously we want the terminal to clear, reviewing errors should not require extra focus), the terminal clears but it now logs errors in duplicate or triplicate, maybe even more.How to reproduce it
from our package.json:
--color
and--clear
seem to be the main factors. Changing their order hasn't had much effect.Our
eslintrc.json
:Debug output:
I probably can't include this for you, since the output contains a lot of filepaths from a private, for-profit, project.
The text was updated successfully, but these errors were encountered: