start app with nodemon code example
Example 1: install nodemon
npm install nodemon --save-dev
Example 2: nodemon package.json start
{
"name": "abc",
"version": "0.0.1",
"description": "my server",
"scripts": {
"start": "nodemon my_file.js" // <=
Example 3: nodemon node
npm install -g nodemon
Example 4: starting nodemon server
nodemon ./server.js localhost 8080