mirror of
https://github.com/strapi/strapi.git
synced 2025-09-16 20:10:05 +00:00
✏️ 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:
parent
077741b037
commit
a845c8ffe5
@ -121,8 +121,8 @@ function watchFileChanges({ dir, strapiInstance, watchIgnoreFiles, polling }) {
|
|||||||
ignored: [
|
ignored: [
|
||||||
/(^|[/\\])\../, // dot files
|
/(^|[/\\])\../, // dot files
|
||||||
/tmp/,
|
/tmp/,
|
||||||
'**/admin',
|
'admin',
|
||||||
'**/admin/**',
|
'admin/**',
|
||||||
'extensions/**/admin',
|
'extensions/**/admin',
|
||||||
'extensions/**/admin/**',
|
'extensions/**/admin/**',
|
||||||
'**/documentation',
|
'**/documentation',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user