Skip to content

Commit 0965fbc

Browse files
committed
fix(cli): move back some options that must be in createConfig
1 parent d5f6114 commit 0965fbc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/utils/createConfig.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,15 @@ function createConfig(config, argv, { port }) {
153153
options.disableHostCheck = true;
154154
}
155155

156+
if (argv.openPage) {
157+
options.openPage = argv.openPage;
158+
}
159+
160+
// eslint-disable-next-line no-undefined
161+
if (argv.open !== undefined) {
162+
options.open = argv.open;
163+
}
164+
156165
if (argv.useLocalIp) {
157166
options.useLocalIp = true;
158167
}

0 commit comments

Comments
 (0)