admin管理员组

文章数量:1320661

I have a nodemon configuration in my project what does verbose mean and what does it do

{
  "verbose": true,
  "watch": "./server"
}

i have read the readme file of nodemon it doesn't talk about it

I have a nodemon configuration in my project what does verbose mean and what does it do

{
  "verbose": true,
  "watch": "./server"
}

i have read the readme file of nodemon it doesn't talk about it

Share Improve this question edited Dec 17, 2019 at 16:07 Ashok Kumar N 5736 silver badges26 bronze badges asked Dec 17, 2019 at 14:50 Mohammad AmeerMohammad Ameer 792 silver badges7 bronze badges 1
  • The README file does not necessarily cover every options available for a program. You can often find useful information about its options in the help section. – TGrif Commented Dec 17, 2019 at 18:46
Add a ment  | 

1 Answer 1

Reset to default 8

Verbose means talkative, it's here to make sure you get more information (trace) from nodemon. It's useful when debugging some code.

Exemple without verbose mode:

[nodemon] 1.19.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node test.js`
Hello Nodemon
[nodemon] clean exit - waiting for changes before restart

Exemple with verbose mode activated:

[nodemon] 1.19.1
[nodemon] reading config ./nodemon.json
[nodemon] to restart at any time, enter `rs`
[nodemon] or send SIGHUP to 43148 to restart
[nodemon] watching: *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node test.js`
[nodemon] forking
[nodemon] child pid: 43150
[nodemon] watching 7 files
Hello Nodemon
[nodemon] clean exit - waiting for changes before restart

本文标签: javascriptwhat does verbose mean in nodemon configuration fileStack Overflow