File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,30 @@ npm run webpack-dev-server -- --bonjour
13
13
14
14
A Zeroconf broadcast should occur, containing data with a type of ` http ` and a
15
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 ` .
You can’t perform that action at this time.
0 commit comments