Search code examples
javascriptnode.jsnodemon

How to hide the yellow console.logs in nodemon


Is it possible to hide the yellow logs that displays when you start en watch with nodemon?

below is displayed in yellow in the console.

[nodemon] 1.11.0
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: /var/www/test/server/core/src/**/*

Solution

  • From the documentation returned by nodemon -h:

    -q, --quiet .............. minimise nodemon messages to start/stop only.

    So run:

    nodemon --quiet your-file.js