Skip to content

Commit 317648d

Browse files
authored
fix: update description for --no-client-reconnect (#4248)
1 parent 93675b6 commit 317648d

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Options:
101101
--client-progress Prints compilation progress in percentage in the browser.
102102
--no-client-progress Does not print compilation progress in percentage in the browser.
103103
--client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client.
104-
--no-client-reconnect Tells dev-server to not to try to connect the client.
104+
--no-client-reconnect Tells dev-server to not to try to reconnect the client.
105105
--client-web-socket-transport <value> Allows to set custom web socket transport to communicate with dev server.
106106
--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).
107107
--client-web-socket-url-hostname <value> Tells clients connected to devServer to use the provided hostname.

bin/cli-flags.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ module.exports = {
157157
description:
158158
"Tells dev-server the number of times it should try to reconnect the client.",
159159
negatedDescription:
160-
"Tells dev-server to not to try to connect the client.",
160+
"Tells dev-server to not to try to reconnect the client.",
161161
path: "client.reconnect",
162162
},
163163
{
@@ -166,7 +166,7 @@ module.exports = {
166166
description:
167167
"Tells dev-server the number of times it should try to reconnect the client.",
168168
negatedDescription:
169-
"Tells dev-server to not to try to connect the client.",
169+
"Tells dev-server to not to try to reconnect the client.",
170170
path: "client.reconnect",
171171
},
172172
],

lib/options.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
}
128128
],
129129
"cli": {
130-
"negatedDescription": "Tells dev-server to not to try to connect the client."
130+
"negatedDescription": "Tells dev-server to not to try to reconnect the client."
131131
}
132132
},
133133
"ClientWebSocketTransport": {

test/cli/__snapshots__/basic.test.js.snap.webpack4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Options:
6969
--client-progress Prints compilation progress in percentage in the browser.
7070
--no-client-progress Does not print compilation progress in percentage in the browser.
7171
--client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client.
72-
--no-client-reconnect Tells dev-server to not to try to connect the client.
72+
--no-client-reconnect Tells dev-server to not to try to reconnect the client.
7373
--client-web-socket-transport <value> Allows to set custom web socket transport to communicate with dev server.
7474
--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).
7575
--client-web-socket-url-hostname <value> Tells clients connected to devServer to use the provided hostname.

test/cli/__snapshots__/basic.test.js.snap.webpack5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Options:
7070
--client-progress Prints compilation progress in percentage in the browser.
7171
--no-client-progress Does not print compilation progress in percentage in the browser.
7272
--client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client.
73-
--no-client-reconnect Tells dev-server to not to try to connect the client.
73+
--no-client-reconnect Tells dev-server to not to try to reconnect the client.
7474
--client-web-socket-transport <value> Allows to set custom web socket transport to communicate with dev server.
7575
--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).
7676
--client-web-socket-url-hostname <value> Tells clients connected to devServer to use the provided hostname.

0 commit comments

Comments
 (0)