fix: 修复 watch 池为空

This commit is contained in:
hkc452 2021-09-01 14:59:04 +08:00
parent 2823c8771c
commit 0d1c71767a

View File

@ -34,6 +34,7 @@ export default async ({ api, watch }) => {
await generate();
}, 100)
);
watchers.push(watcher);
}
if (watch) {