mirror of
https://github.com/whyour/qinglong.git
synced 2026-11-15 00:59:42 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d5e485cd6 | ||
|
|
b87fe2ebf0 | ||
|
|
7ea2d362f0 | ||
|
|
9bd8318371 | ||
|
|
4c2a8e2b24 |
@@ -65,11 +65,7 @@ export default async (src: string = 'deps') => {
|
||||
|
||||
const source = path.join(config.rootPath, src);
|
||||
const watcher = chokidar.watch(source, {
|
||||
ignored: [
|
||||
/(^|[\/\\])\../, // ignore dotfiles
|
||||
/(^|[\/\\])node_modules([\/\\]|$)/, // ignore node_modules
|
||||
/(^|[\/\\])\.git([\/\\]|$)/, // ignore .git
|
||||
],
|
||||
ignored: /(^|[\/\\])\../, // ignore dotfiles
|
||||
persistent: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user