1
0

Fix typo in watcher ignore pattern

This commit is contained in:
2025-06-01 11:59:23 +02:00
parent 8b15b09246
commit 9d081114b4

View File

@@ -663,7 +663,7 @@ function ensureInGitignore(folderPath, name) {
function startMonitoringWatcher(folderPath, win) { function startMonitoringWatcher(folderPath, win) {
if (monitoringWatchers.has(folderPath)) return; if (monitoringWatchers.has(folderPath)) return;
const watcher = chokidar.watch(folderPath, { const watcher = chokidar.watch(folderPath, {
ignored: /(^|[\/\\])\..|node_modules|\.git/, ignored: /(^|[\/\\])\..|\.git/,
ignoreInitial: false, // wichtig: ruft add-Events für vorhandene Dateien auf! ignoreInitial: false, // wichtig: ruft add-Events für vorhandene Dateien auf!
persistent: true, persistent: true,
depth: 99, depth: 99,