Skip to content

Commit

Permalink
fix: update description for --no-client-reconnect (#4248)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Feb 4, 2022
1 parent 93675b6 commit 317648d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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 <value> Allows to set custom web socket transport to communicate with dev server.
--client-web-socket-url <value> 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 <value> Tells clients connected to devServer to use the provided hostname.
Expand Down
4 changes: 2 additions & 2 deletions bin/cli-flags.js
Expand Up @@ -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",
},
{
Expand All @@ -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",
},
],
Expand Down
2 changes: 1 addition & 1 deletion lib/options.json
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion test/cli/__snapshots__/basic.test.js.snap.webpack4
Expand Up @@ -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 <value> Allows to set custom web socket transport to communicate with dev server.
--client-web-socket-url <value> 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 <value> Tells clients connected to devServer to use the provided hostname.
Expand Down
2 changes: 1 addition & 1 deletion test/cli/__snapshots__/basic.test.js.snap.webpack5
Expand Up @@ -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 <value> Allows to set custom web socket transport to communicate with dev server.
--client-web-socket-url <value> 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 <value> Tells clients connected to devServer to use the provided hostname.
Expand Down

0 comments on commit 317648d

Please sign in to comment.