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

npm debug logs piling up #727

Closed
kellyrmilligan opened this issue Dec 21, 2016 · 5 comments

Comments

@kellyrmilligan
Copy link

commented Dec 21, 2016

is there an option to just have the reporting output, and not do an exit code that produces the npm debug log? in dev mode I have a watcher constantly running standard and the logs just pile up

@LinusU

This comment has been minimized.

Copy link
Member

commented Dec 21, 2016

You could probably invoke it as standard || true if you are invoking via a shell...

@kellyrmilligan

This comment has been minimized.

Copy link
Author

commented Dec 21, 2016

i discovered it was because I was piping it through snazzy to get better output. seems like if I just use the tool straight up then its fine. would like better output for sure, but can't stand the logs piling up like that.

@kellyrmilligan

This comment has been minimized.

Copy link
Author

commented Dec 21, 2016

I was incorrect in my earlier assumption. it didn't seem to be piling up before(like a month or so ago). i'm invoking it via npm scripts.

"standard": "standard --fix"

and am now getting npm logs alll the time. i'm wondering if something like

standard --fix --failonerror false could make sense? display the output but don't fail?

@kellyrmilligan

This comment has been minimized.

Copy link
Author

commented Dec 21, 2016

@LinusU that totally worked.

@feross

This comment has been minimized.

Copy link
Member

commented Dec 23, 2016

Glad you got it figured out.

@feross feross closed this Dec 23, 2016

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
3 participants
You can’t perform that action at this time.