Compare commits

...

4 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 5a66cdbf17 Use properly anchored regex patterns for node_modules and .git
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2026-01-29 11:36:08 +00:00
copilot-swe-agent[bot] 3f880e6610 Update chokidar ignore patterns to use regex for better reliability
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2026-01-29 11:34:00 +00:00
copilot-swe-agent[bot] a2d313fe1b Fix: ignore node_modules and .git in chokidar watcher to prevent ENOSPC error
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2026-01-29 11:30:14 +00:00
copilot-swe-agent[bot] 4cda665886 Initial plan 2026-01-29 11:26:41 +00:00
+5 -1
View File
@@ -65,7 +65,11 @@ export default async (src: string = 'deps') => {
const source = path.join(config.rootPath, src);
const watcher = chokidar.watch(source, {
ignored: /(^|[\/\\])\../, // ignore dotfiles
ignored: [
/(^|[\/\\])\../, // ignore dotfiles
/(^|[\/\\])node_modules([\/\\]|$)/, // ignore node_modules
/(^|[\/\\])\.git([\/\\]|$)/, // ignore .git
],
persistent: true,
});