We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--disable-host-check
1 parent b97dc5e commit 9188878Copy full SHA for 9188878
bin/webpack-dev-server.js
@@ -184,6 +184,11 @@ yargs.options({
184
describe: "The port",
185
group: CONNECTION_GROUP
186
},
187
+ "disable-host-check": {
188
+ type: "boolean",
189
+ describe: "Will not check the host",
190
+ group: CONNECTION_GROUP
191
+ },
192
"socket": {
193
type: "String",
194
describe: "Socket to listen",
@@ -328,6 +333,9 @@ function processOptions(wpOpt) {
328
333
if(argv["compress"])
329
334
options.compress = true;
330
335
336
+ if(argv["disable-host-check"])
337
+ options.disableHostCheck = true;
338
+
331
339
if(argv["open"] || argv["open-page"]) {
332
340
options.open = true;
341
options.openPage = argv["open-page"] || "";
0 commit comments