fix: fix script preview no build

This commit is contained in:
vben
2020-10-20 21:00:24 +08:00
parent e3cbc9326e
commit c2333f5d04
2 changed files with 13 additions and 10 deletions

View File

@@ -53,7 +53,7 @@ export const runPreview = async () => {
});
const { type } = await prompt;
if (type === BUILD) {
await runBuild();
await runBuild(true);
}
startApp();
};