Fix typo in watcher ignore pattern
This commit is contained in:
2
main.js
2
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,
|
||||
|
||||
Reference in New Issue
Block a user