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