#nodemon on project
yarn add nodemon -D
#to run nodemon from any folder
yarn add -g nodemon
#run with nodemon
nodemon index.js if nodemon install globally
if you want to run from command used script inside package.json
"script":{
"server":"nodemon index.js"
},
run using yarn run server