{
"name": "abc",
"version": "0.0.1",
"description": "my server",
"scripts": {
"start": "nodemon my_file.js" // <=
------------------package.json FILE
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js"
},
------------------package.json FILE
------------------[console]
npm run dev
------------------[console]
"scripts": {
"start": "node ./bin/www",
"devstart": "nodemon ./bin/www",
"serverstart": "DEBUG=express-locallibrary-tutorial:* npm run devstart"
},
nodemon --exec npm run dev:test