✏️ Edit the file watcher to only ignore admin folder occurences from the current project folder onwards and not the admin folder

This commit is contained in:
Richard 2021-11-17 17:38:34 +02:00
parent 077741b037
commit a845c8ffe5

View File

@ -121,8 +121,8 @@ function watchFileChanges({ dir, strapiInstance, watchIgnoreFiles, polling }) {
ignored: [
/(^|[/\\])\../, // dot files
/tmp/,
'**/admin',
'**/admin/**',
'admin',
'admin/**',
'extensions/**/admin',
'extensions/**/admin/**',
'**/documentation',