watch时忽略必定是前端的目录
This commit is contained in:
parent
8c82b16e79
commit
88df72c589
|
|
@ -65,7 +65,10 @@ const watcher = chokidar.watch(watchSourcePath, {
|
|||
return (
|
||||
file.endsWith('.tsx') ||
|
||||
file.endsWith('.json') ||
|
||||
file.endsWith('.xml')
|
||||
file.endsWith('.xml') ||
|
||||
file.includes('components') ||
|
||||
file.includes('pages') ||
|
||||
file.includes('hooks')
|
||||
);
|
||||
},
|
||||
// awaitWriteFinish: true, // emit single event when chunked writes are completed
|
||||
|
|
|
|||
Loading…
Reference in New Issue