akfun 2.0.3 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/dev-server.js +1 -1
package/package.json
CHANGED
package/src/dev-server.js
CHANGED
|
@@ -114,7 +114,7 @@ module.exports = function (akfunConfig, _consoleTag) {
|
|
|
114
114
|
const uri = `http://${config.dev.hostname}:${port}`;
|
|
115
115
|
console.log(`> Listening at ${uri}\n`);
|
|
116
116
|
// 如果是开发环境,自动打开浏览器并跳到项目首页
|
|
117
|
-
if (autoOpenBrowser
|
|
117
|
+
if (autoOpenBrowser) {
|
|
118
118
|
spinner.succeed(`${consoleTag}调试模式已开启!`);
|
|
119
119
|
opn(uri);
|
|
120
120
|
}
|