Skip to content

Commit

Permalink
fix($cli): re-support option --open (close: #1320) (#1329)
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma authored and ulivz committed Feb 24, 2019
1 parent be88e7f commit b97e9ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@vuepress/core/lib/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ async function prepareServer (sourceDir, cliOptions = {}, context) {
headers: {
'access-control-allow-origin': '*'
},
open: cliOptions.open,
publicPath: ctx.base,
watchOptions: {
ignored: [
Expand Down

0 comments on commit b97e9ee

Please sign in to comment.