mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 11:54:10 +00:00 
			
		
		
		
	Merge pull request #2980 from strapi/fix/add-ignore-patterns-to-watcher
Add patterns to ignore in the file watcher
This commit is contained in:
		
						commit
						c8846384cf
					
				@ -38,13 +38,19 @@ const watchFileChanges = ({ appPath, strapi }) => {
 | 
				
			|||||||
      /(^|[/\\])\../,
 | 
					      /(^|[/\\])\../,
 | 
				
			||||||
      /tmp/,
 | 
					      /tmp/,
 | 
				
			||||||
      '**/admin',
 | 
					      '**/admin',
 | 
				
			||||||
 | 
					      '**/admin/**',
 | 
				
			||||||
      '**/components',
 | 
					      '**/components',
 | 
				
			||||||
 | 
					      '**/components/**',
 | 
				
			||||||
      '**/documentation',
 | 
					      '**/documentation',
 | 
				
			||||||
 | 
					      '**/documentation/**',
 | 
				
			||||||
      '**/node_modules',
 | 
					      '**/node_modules',
 | 
				
			||||||
 | 
					      '**/node_modules/**',
 | 
				
			||||||
      '**/plugins.json',
 | 
					      '**/plugins.json',
 | 
				
			||||||
      '**/index.html',
 | 
					      '**/index.html',
 | 
				
			||||||
      '**/public',
 | 
					      '**/public',
 | 
				
			||||||
 | 
					      '**/public/**',
 | 
				
			||||||
      '**/cypress',
 | 
					      '**/cypress',
 | 
				
			||||||
 | 
					      '**/cypress/**',
 | 
				
			||||||
      '**/*.db*',
 | 
					      '**/*.db*',
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user