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
nodemon --ignore "*.json"
"nodemonConfig": {
"ignore": [
"public/assets/scripts/*"
]
},
// 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'
nodemon --ignore "file pattern"