简体   繁体   English

如何在nodemon中隐藏黄色的console.logs

[英]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? 当您开始使用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/**/*

From the documentation returned by nodemon -h : nodemon -h返回的文档中:

-q, --quiet .............. minimise nodemon messages to start/stop only. -q,--quiet ..............最小化nodemon消息以仅开始/停止。

So run: 因此运行:

nodemon --quiet your-file.js

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM