nodemon ignore files code example
Example 1: 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'
Example 2: nodemon ignore file
nodemon --ignore PATTERN1 [--ignore PATTERN2]
Example:
nodemon --ignore 'dist/*.js' --ignore README