From a4c37073157479f973f78d2b3a6d5bcac4aec1df Mon Sep 17 00:00:00 2001 From: Jordan McAlpine <128929391+mickalpine@users.noreply.github.com> Date: Tue, 29 Oct 2024 23:27:35 -0400 Subject: [PATCH] fix: kibana dev server not restarting external plugin The kibana dev server was not restarting during external plugin development for server side code. fixes #171260 --- packages/kbn-cli-dev-mode/src/watcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kbn-cli-dev-mode/src/watcher.ts b/packages/kbn-cli-dev-mode/src/watcher.ts index 3c9763e0543aa..732b6a75c14bf 100644 --- a/packages/kbn-cli-dev-mode/src/watcher.ts +++ b/packages/kbn-cli-dev-mode/src/watcher.ts @@ -26,7 +26,7 @@ const packageMatcher = makeMatcher([ /** * Any code that is outside of a package must match this in order to trigger a restart */ -const nonPackageMatcher = makeMatcher(['config/**/*.yml']); +const nonPackageMatcher = makeMatcher(['config/**/*.yml', "plugins/**/server/**/*"]); export interface Options { enabled: boolean;