From b97e9eec0bc384d2df13029b8b00f518c126ffa0 Mon Sep 17 00:00:00 2001 From: Shigma <33423008+Shigma@users.noreply.github.com> Date: Mon, 25 Feb 2019 00:00:23 +0800 Subject: [PATCH] fix($cli): re-support option `--open` (close: #1320) (#1329) --- packages/@vuepress/core/lib/dev.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@vuepress/core/lib/dev.js b/packages/@vuepress/core/lib/dev.js index c8051d3978..c0b728c0e9 100644 --- a/packages/@vuepress/core/lib/dev.js +++ b/packages/@vuepress/core/lib/dev.js @@ -137,6 +137,7 @@ async function prepareServer (sourceDir, cliOptions = {}, context) { headers: { 'access-control-allow-origin': '*' }, + open: cliOptions.open, publicPath: ctx.base, watchOptions: { ignored: [