how to add nodemon to nestjs code example
Example 1: install nodemon
npm install nodemon --save-dev
Example 2: using nodemon with typescript
nodemon --watch "src/**" --ext "ts,json" --ignore "src/**/*.spec.ts" --exec "ts-node src/index.ts"
npm install nodemon --save-dev
nodemon --watch "src/**" --ext "ts,json" --ignore "src/**/*.spec.ts" --exec "ts-node src/index.ts"