how to make nodemon ignore files

Solutions on MaxInterview for how to make nodemon ignore files by the best coders in the world

showing results for - "how to make nodemon ignore files"
Niclas
30 Apr 2016
1nodemon --ignore PATTERN1 [--ignore PATTERN2]
2
3Example:
4nodemon --ignore 'dist/*.js' --ignore README
Pablo
26 Jan 2017
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'