This commit is contained in:
Copilot 2026-01-29 11:36:13 +00:00 committed by GitHub
commit a887851dec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,11 @@ export default async (src: string = 'deps') => {
const source = path.join(config.rootPath, src); const source = path.join(config.rootPath, src);
const watcher = chokidar.watch(source, { const watcher = chokidar.watch(source, {
ignored: /(^|[\/\\])\../, // ignore dotfiles ignored: [
/(^|[\/\\])\../, // ignore dotfiles
/(^|[\/\\])node_modules([\/\\]|$)/, // ignore node_modules
/(^|[\/\\])\.git([\/\\]|$)/, // ignore .git
],
persistent: true, persistent: true,
}); });