Skip to content

Customize or disable serve console message #3726

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

Open
csicky opened this issue Mar 29, 2019 · 2 comments
Open

Customize or disable serve console message #3726

csicky opened this issue Mar 29, 2019 · 2 comments

Comments

@csicky
Copy link

csicky commented Mar 29, 2019

What problem does this feature solve?

I would like to be able to see only if there is a problem, if it's green, yellow or red. I don't want to give so much screen to the console, but in order to see what I want I have to see also the entire message which I know already:

 DONE  Compiled successfully in 24499ms      
  App running at:
  - Local:   http://localhost:8080/
  - Network: http://192.168.100.10:8080/

  Note that the development build is not optimized.
  To create a production build, run npm run build.

What does the proposed API look like?

I need a way to have the console say only:

 DONE  Compiled successfully in 24499ms  

Not duplicate of #2115, that issue was a different topic.

@LinusBorg
Copy link
Member

...but that message only appears on first compile?

@csicky
Copy link
Author

csicky commented Mar 29, 2019

Yes, the "development build not optimized" message appears only once, but still the "app running at" is taking up vertical space. If I try to make the console height to take only one line, I don't see anymore if it's green red or yellow. I actually only care about the colors.

image

What I do to is I go to serve.js in node_modules folder and comment out the noisy console.log calls. This is problematic when I update packages because I have to go and do it again.

Thank you for your help.

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

No branches or pull requests

2 participants