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: bin/cli-flags.js
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -750,13 +750,11 @@ module.exports = {
750
750
{
751
751
type: 'string',
752
752
multiple: false,
753
-
description:
754
-
"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 server based on window.location, but if that fails you'll need to use this.",
753
+
description: "The public hostname/ip address of the server that client script will try to connect to.",
755
754
path: 'public',
756
755
},
757
756
],
758
-
description:
759
-
"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 server based on window.location, but if that fails you'll need to use this.",
757
+
description: "The public hostname/ip address of the server that client script will try to connect to.",
--host <value> Specify a host to use. If you want your server to be accessible externally.
@@ -253,8 +254,11 @@ Options:
253
254
--no-open-target Do not open specified route in browser.
254
255
--open-app-name <value...> Open specified browser.
255
256
--open-app <value> Open specified browser.
257
+
--open-reset Clear all items provided in open configuration.
258
+
--open-target-reset Clear all items provided in open.target configuration.
259
+
--open-app-name-reset Clear all items provided in open.app.name configuration.
256
260
--port <value> Specify a port number to listen for requests on.
257
-
--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 server based on window.location, but if that fails you'll need to use this.
261
+
--public <value> The public hostname/ip address of the server that client script will try to connect to.
258
262
--static [value...] It is possible to configure advanced options for serving static files from directory. See the Express documentation for the possible options.
259
263
--no-static Negative 'static' option.
260
264
--static-directory <value> Directory for static contents.
@@ -263,8 +267,12 @@ Options:
263
267
--no-static-serve-index Do not tell dev-server to use serveIndex middleware.
264
268
--static-watch Watch for files in static content directory.
265
269
--no-static-watch Do not watch for files in static content directory.
270
+
--static-reset Clear all items provided in static configuration.
271
+
--static-public-path-reset Clear all items provided in static.publicPath configuration.
266
272
--watch-files <value...> List of files to watch for file changes and serve.
267
273
--watch-files-paths <value...> List of files to watch for file changes and serve.
274
+
--watch-files-reset Clear all items provided in watchFiles configuration.
275
+
--watch-files-paths-reset Clear all items provided in watchFiles.paths configuration.
--host <value> Specify a host to use. If you want your server to be accessible externally.
@@ -254,6 +255,9 @@ Options:
254
255
--no-open-target Do not open specified route in browser.
255
256
--open-app-name <value...> Open specified browser.
256
257
--open-app <value> Open specified browser.
258
+
--open-reset Clear all items provided in open.
259
+
--open-target-reset Clear all items provided in open.target
260
+
--open-app-name-reset Clear all items provided in open.app.name
257
261
--port <value> Specify a port number to listen for requests on.
258
262
--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 server based on window.location, but if that fails you'll need to use this.
259
263
--static [value...] It is possible to configure advanced options for serving static files from directory. See the Express documentation for the possible options.
@@ -264,8 +268,12 @@ Options:
264
268
--no-static-serve-index Do not tell dev-server to use serveIndex middleware.
265
269
--static-watch Watch for files in static content directory.
266
270
--no-static-watch Do not watch for files in static content directory.
271
+
--static-reset Clear all items provided in static.
272
+
--static-public-path-reset Clear all items provided in static.publicPath
267
273
--watch-files <value...> List of files to watch for file changes and serve.
268
274
--watch-files-paths <value...> List of files to watch for file changes and serve.
275
+
--watch-files-reset Clear all items provided in watchFiles.
276
+
--watch-files-paths-reset Clear all items provided in watchFiles.paths
0 commit comments