install nodemon for nodejs code example
Example 1: install nodemon globally
npm install -g nodemon
Example 2: nodemon a npm run command
nodemon --exec npm run dev:test
npm install -g nodemon
nodemon --exec npm run dev:test