From 3f880e6610f839de4134467ad935e5e14942acf7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 11:34:00 +0000 Subject: [PATCH] Update chokidar ignore patterns to use regex for better reliability Co-authored-by: whyour <22700758+whyour@users.noreply.github.com> --- back/loaders/deps.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/back/loaders/deps.ts b/back/loaders/deps.ts index 3500f9b0..02977619 100644 --- a/back/loaders/deps.ts +++ b/back/loaders/deps.ts @@ -67,8 +67,8 @@ export default async (src: string = 'deps') => { const watcher = chokidar.watch(source, { ignored: [ /(^|[\/\\])\../, // ignore dotfiles - '**/node_modules/**', // ignore node_modules - '**/.git/**', // ignore .git + /node_modules/, // ignore node_modules + /\.git/, // ignore .git ], persistent: true, });