Remove node_modules and .git from watcher ignore list in main.js
This commit is contained in:
2
main.js
2
main.js
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user