fix:回收数组

This commit is contained in:
hkc452 2021-09-01 15:05:48 +08:00
parent 0d1c71767a
commit 111451a3d2

View File

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