add below in package.json => "scripts": { "start": "nodemon my_file.js" } then run following command => npm start
nodemon --exec npm run dev:test
nodemon YourFileName