From a845c8ffe500ad9ae2ada211cd595fbd43c29e13 Mon Sep 17 00:00:00 2001 From: Richard Date: Wed, 17 Nov 2021 17:38:34 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Edit=20the=20file=20watche?= =?UTF-8?q?r=20to=20only=20ignore=20admin=20folder=20occurences=20from=20t?= =?UTF-8?q?he=20current=20project=20folder=20onwards=20and=20not=20the=20a?= =?UTF-8?q?dmin=20folder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/strapi/lib/commands/develop.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/strapi/lib/commands/develop.js b/packages/strapi/lib/commands/develop.js index 833f89347f..5a9fb1e209 100644 --- a/packages/strapi/lib/commands/develop.js +++ b/packages/strapi/lib/commands/develop.js @@ -121,8 +121,8 @@ function watchFileChanges({ dir, strapiInstance, watchIgnoreFiles, polling }) { ignored: [ /(^|[/\\])\../, // dot files /tmp/, - '**/admin', - '**/admin/**', + 'admin', + 'admin/**', 'extensions/**/admin', 'extensions/**/admin/**', '**/documentation',