mirror of
https://github.com/whyour/qinglong.git
synced 2026-02-12 05:55:38 +08:00
Update chokidar ignore patterns to use regex for better reliability
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
This commit is contained in:
parent
a2d313fe1b
commit
3f880e6610
|
|
@ -67,8 +67,8 @@ export default async (src: string = 'deps') => {
|
|||
const watcher = chokidar.watch(source, {
|
||||
ignored: [
|
||||
/(^|[\/\\])\../, // ignore dotfiles
|
||||
'**/node_modules/**', // ignore node_modules
|
||||
'**/.git/**', // ignore .git
|
||||
/node_modules/, // ignore node_modules
|
||||
/\.git/, // ignore .git
|
||||
],
|
||||
persistent: true,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user