diff --git a/src/main/watcher/watcher.ts b/src/main/watcher/watcher.ts index c2691e4..3477f27 100644 --- a/src/main/watcher/watcher.ts +++ b/src/main/watcher/watcher.ts @@ -42,7 +42,10 @@ async function StartWatcher(): Promise { watcher = chokidar.watch(filePaths, { ignored: (filepath, stats) => { const p = path.parse(filepath); - return !stats?.isFile() && p.ext !== "" && p.ext.toUpperCase() !== ".ENV"; //Only watch for .ENV files. + return ( + (!stats?.isFile() && p.ext !== "" && p.ext.toUpperCase() !== ".ENV") || + p.name?.toUpperCase() === ".DS_STORE" + ); //Only watch for .ENV files. }, usePolling: pollingSettings.enabled || false, interval: pollingSettings.interval || 30000,