how to make nodemon ignore files code example
Example 1: nodemon ignore file
nodemon --ignore PATTERN1 [--ignore PATTERN2]
Example:
nodemon --ignore 'dist/*.js' --ignore README
Example 2: how to make nodemon ignore files
// in terminal
// ignore all files in a directory:
nodemon fileToRun.js --ignore 'directory/*.extension'
// ignore a specific file in a directory:
nodemon fileToRun.js --ignore 'directory/file.exstension'