diff --git a/README.md b/README.md index 2682a0f492..b1021ec4ce 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ Options: --client-progress Prints compilation progress in percentage in the browser. --no-client-progress Does not print compilation progress in percentage in the browser. --client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client. - --no-client-reconnect Tells dev-server to not to try to connect the client. + --no-client-reconnect Tells dev-server to not to try to reconnect the client. --client-web-socket-transport Allows to set custom web socket transport to communicate with dev server. --client-web-socket-url Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to). --client-web-socket-url-hostname Tells clients connected to devServer to use the provided hostname. diff --git a/bin/cli-flags.js b/bin/cli-flags.js index 8f5695e416..c9fa6b7815 100644 --- a/bin/cli-flags.js +++ b/bin/cli-flags.js @@ -157,7 +157,7 @@ module.exports = { description: "Tells dev-server the number of times it should try to reconnect the client.", negatedDescription: - "Tells dev-server to not to try to connect the client.", + "Tells dev-server to not to try to reconnect the client.", path: "client.reconnect", }, { @@ -166,7 +166,7 @@ module.exports = { description: "Tells dev-server the number of times it should try to reconnect the client.", negatedDescription: - "Tells dev-server to not to try to connect the client.", + "Tells dev-server to not to try to reconnect the client.", path: "client.reconnect", }, ], diff --git a/lib/options.json b/lib/options.json index 9e4c845c51..bd7a5a2f90 100644 --- a/lib/options.json +++ b/lib/options.json @@ -127,7 +127,7 @@ } ], "cli": { - "negatedDescription": "Tells dev-server to not to try to connect the client." + "negatedDescription": "Tells dev-server to not to try to reconnect the client." } }, "ClientWebSocketTransport": { diff --git a/test/cli/__snapshots__/basic.test.js.snap.webpack4 b/test/cli/__snapshots__/basic.test.js.snap.webpack4 index 3ff6fc34af..7ca7efdea9 100644 --- a/test/cli/__snapshots__/basic.test.js.snap.webpack4 +++ b/test/cli/__snapshots__/basic.test.js.snap.webpack4 @@ -69,7 +69,7 @@ Options: --client-progress Prints compilation progress in percentage in the browser. --no-client-progress Does not print compilation progress in percentage in the browser. --client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client. - --no-client-reconnect Tells dev-server to not to try to connect the client. + --no-client-reconnect Tells dev-server to not to try to reconnect the client. --client-web-socket-transport Allows to set custom web socket transport to communicate with dev server. --client-web-socket-url Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to). --client-web-socket-url-hostname Tells clients connected to devServer to use the provided hostname. diff --git a/test/cli/__snapshots__/basic.test.js.snap.webpack5 b/test/cli/__snapshots__/basic.test.js.snap.webpack5 index de98c270c8..8a2f41912a 100644 --- a/test/cli/__snapshots__/basic.test.js.snap.webpack5 +++ b/test/cli/__snapshots__/basic.test.js.snap.webpack5 @@ -70,7 +70,7 @@ Options: --client-progress Prints compilation progress in percentage in the browser. --no-client-progress Does not print compilation progress in percentage in the browser. --client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client. - --no-client-reconnect Tells dev-server to not to try to connect the client. + --no-client-reconnect Tells dev-server to not to try to reconnect the client. --client-web-socket-transport Allows to set custom web socket transport to communicate with dev server. --client-web-socket-url Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to). --client-web-socket-url-hostname Tells clients connected to devServer to use the provided hostname.