Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Stop React Webpack from writing in terminal

How can I stop this output from terminal? One week ago I created a ReactJS project with npx create-react-app and it works with no problem.
This is in the terminal of the first project:
1st terminal
(ignore the errors)
And this is in the terminal of my second project that I started today:
2nd terminal
Which reupdates every time I save any file.
Both projects were started with npm start.
Is there every way I can stop VSCode from showing that in my terminal?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

You can silence output from any commands using shell redirection. Exact syntax varies per platform, but here’s a few:

  • CMD (windows): npm start > nul
  • Powershell (windows): npm start > $null
  • Linux: npm start > /dev/null
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading