Commit 1e7821f1 authored by wildfirecode's avatar wildfirecode

1

parent 9370e2a0
......@@ -26,7 +26,7 @@ var serverStart = opts => {
proxy: opts.proxy,
after(app) {
// 自动打开浏览器
if (opts.BUILD_SKIN) {
if (opts.BUILD_SKIN && opts.opn) {
opn(
path.join(`http://localhost:${opts.devPort}`, opts.BUILD_SKIN, 'index.html')
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment