We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
bonjour
1 parent 5dd2bda commit 297a649Copy full SHA for 297a649
examples/cli/bonjour/README.md
@@ -13,3 +13,30 @@ npm run webpack-dev-server -- --bonjour
13
14
A Zeroconf broadcast should occur, containing data with a type of `http` and a
15
subtype of `webpack`.
16
+
17
+# Bonjour options
18
19
+Allows options from bonjour for more [configuration](https://github.com/watson/bonjour#initializing):
20
21
+```js
22
+// webpack.config.js
23
+module.exports = {
24
+ /* ... */
25
+ devServer: {
26
+ bonjour: {
27
+ name: 'webpack-dev-server',
28
+ type: 'https',
29
+ subtype: 'webpack',
30
+ },
31
32
+};
33
+```
34
35
+```console
36
+npm run webpack-dev-server -- --config webpack.config.js
37
38
39
+## What Should Happen
40
41
+A Zeroconf broadcast should occur, containing data with a type of `https` and a
42
+subtype of `webpack`.
0 commit comments