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;
|
if (monitoringWatchers.has(folderPath)) return;
|
||||||
|
|
||||||
const watcher = chokidar.watch(folderPath, {
|
const watcher = chokidar.watch(folderPath, {
|
||||||
ignored: /(^|[\/\\])\..|node_modules|\.git/,
|
ignored: /(^|[\/\\])\.git/,
|
||||||
ignoreInitial: true,
|
ignoreInitial: true,
|
||||||
persistent: true,
|
persistent: true,
|
||||||
depth: 99,
|
depth: 99,
|
||||||
|
|||||||
Reference in New Issue
Block a user