Skip to content

Commit dbd60fa

Browse files
committed
fix: 修改为异步处理
1 parent e2ffb3b commit dbd60fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/factory/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = async function(api, info = {}) {
1919

2020
const { index, port, host } = info;
2121
const runApp = require(index); // app.js
22-
runApp(app);
22+
await runApp(app);
2323

2424
const portfinder = require('portfinder');
2525

0 commit comments

Comments
 (0)