Skip to content

Commit b97e9ee

Browse files
shigmaulivz
authored andcommitted
fix($cli): re-support option --open (close: #1320) (#1329)
1 parent be88e7f commit b97e9ee

File tree

1 file changed

+1
-0
lines changed
  • packages/@vuepress/core/lib

1 file changed

+1
-0
lines changed

packages/@vuepress/core/lib/dev.js

+1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ async function prepareServer (sourceDir, cliOptions = {}, context) {
137137
headers: {
138138
'access-control-allow-origin': '*'
139139
},
140+
open: cliOptions.open,
140141
publicPath: ctx.base,
141142
watchOptions: {
142143
ignored: [

0 commit comments

Comments
 (0)