Nodemon игнорировать файл
nodemon --ignore PATTERN1 [--ignore PATTERN2]
Example:
nodemon --ignore 'dist/*.js' --ignore README
Obedient Oyster
nodemon --ignore PATTERN1 [--ignore PATTERN2]
Example:
nodemon --ignore 'dist/*.js' --ignore README
// 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'