1nodemon --ignore PATTERN1 [--ignore PATTERN2]
2
3Example:
4nodemon --ignore 'dist/*.js' --ignore README
1// in terminal
2// ignore all files in a directory:
3nodemon fileToRun.js --ignore 'directory/*.extension'
4// ignore a specific file in a directory:
5nodemon fileToRun.js --ignore 'directory/file.exstension'