最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How do you hide the "[nodemon] clean exit - waiting for changes before restart" message? - Stack

programmeradmin2浏览0评论

I don't want to see that message whenever I save a file in my project. I already have

{
    "events": {
        "start": "node -e 'console.clear()'"
    }
}

in my nodemon.json to indicate my project has restarted.

I don't want to see that message whenever I save a file in my project. I already have

{
    "events": {
        "start": "node -e 'console.clear()'"
    }
}

in my nodemon.json to indicate my project has restarted.

Share Improve this question asked Dec 27, 2018 at 0:14 sdfsdfsdfsdf 5,64010 gold badges48 silver badges80 bronze badges 2
  • Just curious, but why? – Phix Commented Dec 27, 2018 at 0:15
  • I'm making a screencast and the message is kind of distracting from the console.logs in the file I'm editing – sdfsdf Commented Dec 27, 2018 at 0:19
Add a ment  | 

1 Answer 1

Reset to default 8

You can tell nodemon to be quiet, by passing the -q argument. According to nodemon --help options, this will:

minimise nodemon messages to start/stop only

Usage: nodemon -q

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论