From 9d081114b480bc1825b7c53f862b69887a754206 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sun, 1 Jun 2025 11:59:23 +0200 Subject: [PATCH] Fix typo in watcher ignore pattern --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index a94380d..2bdcdc8 100644 --- a/main.js +++ b/main.js @@ -663,7 +663,7 @@ function ensureInGitignore(folderPath, name) { function startMonitoringWatcher(folderPath, win) { if (monitoringWatchers.has(folderPath)) return; const watcher = chokidar.watch(folderPath, { - ignored: /(^|[\/\\])\..|node_modules|\.git/, + ignored: /(^|[\/\\])\..|\.git/, ignoreInitial: false, // wichtig: ruft add-Events für vorhandene Dateien auf! persistent: true, depth: 99,