mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-05 00:04:32 +08:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5a66cdbf17 | |||
| 3f880e6610 | |||
| a2d313fe1b | |||
| 4cda665886 |
@@ -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,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user