Skip to content

Commit 73721b5

Browse files
committed
dev server config - host - CLI
1 parent e7071aa commit 73721b5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

content/configuration/dev-server.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ webpack-dev-server --history-api-fallback
255255
For more options and information, see the [connect-history-api-fallback](https://github.com/bripkens/connect-history-api-fallback) documentation.
256256

257257

258-
## `devServer.host` - CLI only
258+
## `devServer.host`
259259

260260
`string`
261261

@@ -265,6 +265,11 @@ Specify a host to use. By default this is `localhost`. If you want your server t
265265
host: "0.0.0.0"
266266
```
267267

268+
Usage via the CLI
269+
```
270+
webpack-dev-server --host 0.0.0.0
271+
```
272+
268273

269274
## `devServer.hot`
270275

0 commit comments

Comments
 (0)