Advertisement
thesuhu

Nodemon

Jul 31st, 2021
1,222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.71 KB | None | 0 0
  1. # In order to make NodeMon ignore a bunch of files from monitoring, you can start it as
  2.  
  3. nodemon --ignore PATTERN [--ignore PATTERN2]
  4. # where PATTERN is the name of a specific file, directory, or wildcard pattern. Make sure that if you use a wildcard, it is escaped.
  5.  
  6. # For example
  7. nodemon --ignore 'lib/*.js' --ignore README
  8.  
  9. # Alternatively, if you want to configure that behaviour instead, try creating a nodemon.json file in your current working directory,
  10. # or your home directory. You can configure ignoring some files by adding something like the following to this config file:
  11.  
  12. {  
  13.     "ignore": ["lib/*.js", "README"]
  14. }
  15.  
  16. # Refer the README file at https://github.com/remy/nodemon for more details.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement