Answers for "ignore directory nodemon"

2

nodemon ignore file

nodemon --ignore PATTERN1 [--ignore PATTERN2]

Example:
nodemon --ignore 'dist/*.js' --ignore README
Posted by: Guest on April-04-2021
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'
Posted by: Guest on May-27-2021

Browse Popular Code Answers by Language