Ignore node_modules when watching files
See original GitHub issueTo potentially prevent issues such as https://github.com/cypress-io/cypress/issues/369, only watch the user’s source files and ignore node_modules
(and maybe other directories? https://github.com/novemberborn/ignore-by-default/blob/master/index.js).
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Exclude node_modules folder with .gitignore file
The node_modules/ folder is the folder where all packages required by your JavaScript project are downloaded and installed. This folder is ...
Read more >node modules - Git - Ignore node_modules folder everywhere
Add node_modules/ or node_modules to the .gitignore file to ignore all directories called node_modules in the current folder and any subfolders like the ......
Read more >Git ignore node modules - Simple Solution and Common ...
Add the following line to your .gitignore file node_modules. It will match the node_modules directory anywhere in your git repository.
Read more >Have watcher ignore node_modules & jspm_modules changes?
I think I've hit my file watchers limit. Looking through the errors I noticed it is trying to watch the files in my...
Read more >How to ignore the node_modules folder in Git? - Tim Mousk
1. Create a .gitignore file with this entry. . · 2. Remove the node_modules folder from the Git index using the git rm...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in
0.19.1
.Let’s add a configuration option to
cypress.json
to allow users to configure other directories to ignore.