fix:回收数组

This commit is contained in:
hkc452 2021-09-01 15:05:48 +08:00
parent a532102e37
commit 590dd5d091

View File

@ -20,6 +20,7 @@ export default async ({ api, watch }) => {
watchers.forEach((watcher) => {
watcher.close();
});
watchers = [];
}
function createWatcher(path) {