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:
Jim LAURIE 2019-03-15 17:52:06 +01:00 committed by GitHub
commit c8846384cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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*',
],
});