你如何隐藏“[nodemon] clean exit - waiting for changes before restart”消息?
How do you hide the "[nodemon] clean exit - waiting for changes before restart" message?
我不想在我的项目中保存文件时看到该消息。我已经有
{
"events": {
"start": "node -e 'console.clear()'"
}
}
在我的 nodemon.json 中表示我的项目已重新启动。
您可以通过传递 -q
参数告诉 nodemon
安静。根据 nodemon --help options
,这将:
minimise nodemon messages to start/stop only
用法:nodemon -q
我不想在我的项目中保存文件时看到该消息。我已经有
{
"events": {
"start": "node -e 'console.clear()'"
}
}
在我的 nodemon.json 中表示我的项目已重新启动。
您可以通过传递 -q
参数告诉 nodemon
安静。根据 nodemon --help options
,这将:
minimise nodemon messages to start/stop only
用法:nodemon -q