You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+63-54
Original file line number
Diff line number
Diff line change
@@ -83,82 +83,91 @@ Options:
83
83
--no-target Negative 'target' option.
84
84
--watch-options-stdin Stop watching when stdin stream has ended.
85
85
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
86
-
--allowed-hosts <value...> Defines routes which are enabled by default, on by default and allows localhost/value from the 'host' option/value from the 'client.webSocketURL'
--allowed-hosts-reset Clear all items provided in configuration. Defines routes which are enabled by default, on by default and allows localhost/value from the 'host'
89
-
option/value from the 'client.webSocketURL' option. https://webpack.js.org/configuration/dev-server/#devserverallowedhosts
90
-
--bonjour Broadcasts the server via ZeroConf networking on start. https://webpack.js.org/configuration/dev-server/#devserverbonjour
91
-
--no-bonjour Do not broadcast the server via ZeroConf networking on start.
92
-
--client-transport <value> Allows to set custom transport to communicate with server.
--host <value> Specify a host to use. If you want your server to be accessible externally. https://webpack.js.org/configuration/dev-server/#devserverhost
118
-
--hot [value] Enable webpack's Hot Module Replacement feature. https://webpack.js.org/configuration/dev-server/#devserverhot
119
-
--no-hot Disable webpack's Hot Module Replacement feature.
120
-
--http2 Serve over HTTP/2 using spdy. https://webpack.js.org/configuration/dev-server/#devserverhttp2
121
-
--no-http2 Do not use HTTP/2.
122
-
--https By default, dev-server will be served over HTTP. It can optionally be served over HTTP/2 with HTTPS.
121
+
--host <value> Allows to specify a hostname to use. https://webpack.js.org/configuration/dev-server/#devserverhost
122
+
--hot [value] Enables Hot Module Replacement. https://webpack.js.org/configuration/dev-server/#devserverhot
123
+
--no-hot Negative 'hot' option.
124
+
--http2 Allows to serve over HTTP/2 using SPDY. https://webpack.js.org/configuration/dev-server/#devserverhttp2
125
+
--no-http2 Negative 'http2' option.
126
+
--https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
--open-target [value...] Open specified route in browser.
139
-
--no-open-target Do not open specified route in browser.
138
+
--no-live-reload Negative 'live-reload' option.
139
+
--open [value...] Allows to configure devserver to open the browser(s) and page(s) after server had been started (set it to true to
140
+
open your default browser). https://webpack.js.org/configuration/dev-server/#devserveropen
141
+
--no-open Negative 'open' option.
142
+
--open-target [value...] Opens specified page in browser.
143
+
--no-open-target Negative 'open-target' option.
140
144
--open-app-name <value...> Open specified browser.
141
145
--open-app <value...> Open specified browser.
142
-
--open-reset Clear all items provided in configuration. Tells dev-server to open the browser after server had been started. Set it to true to open your default
--open-target-reset Clear all items provided in configuration. Opens specified page in browser.
145
150
--open-app-name-reset Clear all items provided in configuration. Open specified browser.
146
-
--port <value> Specify a port number to listen for requests on. https://webpack.js.org/configuration/dev-server/#devserverport
147
-
--static [value...] It is possible to configure advanced options for serving static files from directory. See the Express documentation for the possible options.
151
+
--port <value> Allows to specify a port to use. https://webpack.js.org/configuration/dev-server/#devserverport
152
+
--static [value...] Allows to configure options for serving static files from directory (by default 'public' directory).
--static-directory <value...> Directory for static contents.
151
-
--static-public-path <value...> The bundled files will be available in the browser under this path.
152
-
--static-serve-index Tells dev-server to use serveIndex middleware when enabled.
153
-
--no-static-serve-index Do not tell dev-server to use serveIndex middleware.
154
-
--static-watch Watch for files in static content directory.
155
-
--no-static-watch Do not watch for files in static content directory.
156
-
--static-reset Clear all items provided in configuration. It is possible to configure advanced options for serving static files from directory. See the Express
157
-
documentation for the possible options. https://webpack.js.org/configuration/dev-server/#devserverstatic
158
-
--static-public-path-reset Clear all items provided in configuration. The bundled files will be available in the browser under this path.
159
-
--watch-files <value...>List of files to watch for file changes and serve. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles
160
-
--watch-files-reset Clear all items provided in configuration. List of files to watch for file changes and serve.
156
+
--static-public-path <value...> The static files will be available in the browser under this public path.
157
+
--static-serve-index Tells devserver to use serveIndex middleware when enabled.
0 commit comments