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
--host <value> Specify a host to use. If you want your server to be accessible externally.
114
+
--hot [value] Enable webpack's Hot Module Replacement feature.
115
+
--no-hot Disable webpack's Hot Module Replacement feature.
116
+
--http2 Serve over HTTP/2 using spdy.
117
+
--no-http2 Do not use HTTP/2.
118
+
--https By default, dev-server will be served over HTTP. It can optionally be served over HTTP/2 with HTTPS.
119
+
--no-https Do not use HTTPS protocol.
120
+
--https-passphrase <value> Passphrase for a pfx file.
121
+
--https-request-cert Request for an SSL certificate.
122
+
--no-https-request-cert Do not request for an SSL certificate.
123
+
--https-cacert <value> Path to an SSL CA certificate.
124
+
--https-key <value> Path to an SSL key.
125
+
--https-pfx <value> Path to an SSL pfx file.
126
+
--https-cert <value> Path to an SSL certificate.
127
+
--live-reload By default, the dev-server will reload/refresh the page when file changes are detected.
128
+
--no-live-reload Disables live reloading on changing files.
129
+
--open [value...] Tells dev-server to open the browser after server had been started. Set it to true to open your default browser.
130
+
--no-open Do not open the default browser.
131
+
--open-target [value...] Open specified route in browser.
132
+
--no-open-target Do not open specified route in browser.
133
+
--open-app-name <value...> Open specified browser.
134
+
--open-app <value> Open specified browser.
135
+
--open-reset Clear all items provided in open configuration.
136
+
--open-target-reset Clear all items provided in open.target configuration.
137
+
--open-app-name-reset Clear all items provided in open.app.name configuration.
138
+
--port <value> Specify a port number to listen for requests on.
139
+
--public <value> When using dev server and you're proxying dev-server, the client script does not always know where to connect to. It will try to guess the URL of the
140
+
server based on window.location, but if that fails you'll need to use this.
141
+
--static [value...] It is possible to configure advanced options for serving static files from directory. See the Express documentation for the possible options.
142
+
--no-static Negative 'static' option.
143
+
--static-directory <value> Directory for static contents.
144
+
--static-public-path <value...> The bundled files will be available in the browser under this path.
145
+
--static-serve-index Tells dev-server to use serveIndex middleware when enabled.
146
+
--no-static-serve-index Do not tell dev-server to use serveIndex middleware.
147
+
--static-watch Watch for files in static content directory.
148
+
--no-static-watch Do not watch for files in static content directory.
149
+
--static-reset Clear all items provided in static configuration.
150
+
--static-public-path-reset Clear all items provided in static.publicPath configuration.
151
+
--watch-files <value...> List of files to watch for file changes and serve.
152
+
--watch-files-paths <value...> List of files to watch for file changes and serve.
153
+
--watch-files-reset Clear all items provided in watchFiles configuration.
154
+
--watch-files-paths-reset Clear all items provided in watchFiles.paths configuration.
0 commit comments