@@ -61,6 +61,8 @@ node_modules/.bin/webpack serve
61
61
Following options are available with ` webpack serve ` :
62
62
63
63
```
64
+ Usage: webpack serve|s [entries...] [options]
65
+
64
66
Options:
65
67
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
66
68
--config-name <value...> Name of the configuration to use.
@@ -79,28 +81,28 @@ Options:
79
81
-t, --target <value...> Sets the build target e.g. node.
80
82
--watch-options-stdin Stop watching when stdin stream has ended.
81
83
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
82
- --host <value> The hostname/ip address the server will bind to
83
- --port <value> The port
84
+ --host <value> The hostname/ip address the server will bind to.
85
+ --port <value> The port server will listen to.
84
86
--static [value...] A directory to serve static content from.
85
87
--no-static Negative 'static' option.
86
- --live-reload Enables/Disables live reloading on changing files
87
- --no-live-reload Negative ' live-reload' option .
88
- --https HTTPS
89
- --http2 HTTP/2, must be used with HTTPS
90
- --bonjour Broadcasts the server via ZeroConf networking on start
91
- --client-progress Print compilation progress in percentage in the browser
92
- --hot-only Do not refresh page if HMR fails
93
- --setup-exit-signals Close and exit the process on SIGINT and SIGTERM
94
- --no-setup-exit-signals Negative 'setup- exit-signals' option .
95
- --stdin Close when stdin ends
96
- --open [value] Open the default browser, or optionally specify a browser name
97
- --use-local-ip Open default browser with local IP
98
- --open-page <value...> Open default browser with the specified page
99
- --client-logging <value> Log level in the browser (none, error, warn, info, log, verbose)
88
+ --live-reload Enables live reloading on changing files.
89
+ --no-live-reload Disables live reloading on changing files .
90
+ --https Use HTTPS protocol.
91
+ --http2 Use HTTP/2, must be used with HTTPS.
92
+ --bonjour Broadcasts the server via ZeroConf networking on start.
93
+ --client-progress Print compilation progress in percentage in the browser.
94
+ --hot-only Do not refresh page if HMR fails.
95
+ --setup-exit-signals Close and exit the process on SIGINT and SIGTERM.
96
+ --no-setup-exit-signals Do not close and exit the process on SIGNIT and SIGTERM .
97
+ --stdin Close when stdin ends.
98
+ --open [value] Open the default browser, or optionally specify a browser name.
99
+ --use-local-ip Open default browser with local IP.
100
+ --open-page <value...> Open default browser with the specified page.
101
+ --client-logging <value> Log level in the browser (none, error, warn, info, log, verbose).
100
102
--history-api-fallback Fallback to /index.html for Single Page Applications.
101
- --compress Enable gzip compression
102
- --public <value> The public hostname/ip address of the server
103
- --firewall <value...> Enable/disable firewall, or set hosts that are allowed to access the dev server
103
+ --compress Enable gzip compression.
104
+ --public <value> The public hostname/ip address of the server.
105
+ --firewall <value...> Enable/disable firewall, or set hosts that are allowed to access the dev server.
104
106
105
107
Global options:
106
108
--color Enable colors on console.
0 commit comments