1
0

Remove node_modules and .git from watcher ignore list in main.js

This commit is contained in:
2025-06-01 06:03:19 +02:00
parent 6c456e2da2
commit fff9c19736

View File

@@ -366,7 +366,7 @@ function startMonitoringWatcher(folderPath, win) {
if (monitoringWatchers.has(folderPath)) return;
const watcher = chokidar.watch(folderPath, {
ignored: /(^|[\/\\])\..|node_modules|\.git/,
ignored: /(^|[\/\\])\.git/,
ignoreInitial: true,
persistent: true,
depth: 99,