mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 11:25:17 +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/,
|
||||
'**/admin',
|
||||
'**/admin/**',
|
||||
'**/components',
|
||||
'**/components/**',
|
||||
'**/documentation',
|
||||
'**/documentation/**',
|
||||
'**/node_modules',
|
||||
'**/node_modules/**',
|
||||
'**/plugins.json',
|
||||
'**/index.html',
|
||||
'**/public',
|
||||
'**/public/**',
|
||||
'**/cypress',
|
||||
'**/cypress/**',
|
||||
'**/*.db*',
|
||||
],
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user