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: test/cli/__snapshots__/cli.test.js.snap.webpack4
+2-209Lines changed: 2 additions & 209 deletions
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,8 @@ Options:
73
73
--client-web-socket-url-port <value> Tells clients connected to devServer to use the provided port.
74
74
--client-web-socket-url-path <value> Tells clients connected to devServer to use the provided path to connect.
75
75
--client-web-socket-url-protocol <value> Tells clients connected to devServer to use the provided protocol.
76
+
--client-web-socket-url-username <value> Tells clients connected to devServer to use the provided username to authenticate.
77
+
--client-web-socket-url-password <value> Tells clients connected to devServer to use the provided password to authenticate.
76
78
--web-socket-server <value> Allows to set web socket server and options (by default 'ws'). https://webpack.js.org/configuration/dev-server/#devserverwebsocketserver
77
79
--compress Enables gzip compression for everything served. https://webpack.js.org/configuration/dev-server/#devservercompress
78
80
--no-compress Disables gzip compression for everything served.
Copy file name to clipboardExpand all lines: test/e2e/__snapshots__/web-socket-server-url.test.js.snap.webpack4
+44Lines changed: 44 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -261,6 +261,28 @@ Array [
261
261
262
262
exports[`web socket server URL should work with the "client.webSocketURL.host" option using "0.0.0.0" value ("ws"): page errors 1`] = `Array []`;
263
263
264
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("sockjs"): console messages 1`] = `
265
+
Array [
266
+
"[HMR] Waiting for update signal from WDS...",
267
+
"Hey.",
268
+
"[webpack-dev-server] Hot Module Replacement enabled.",
269
+
"[webpack-dev-server] Live Reloading enabled.",
270
+
]
271
+
`;
272
+
273
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("sockjs"): page errors 1`] = `Array []`;
274
+
275
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("ws"): console messages 1`] = `
276
+
Array [
277
+
"[HMR] Waiting for update signal from WDS...",
278
+
"Hey.",
279
+
"[webpack-dev-server] Hot Module Replacement enabled.",
280
+
"[webpack-dev-server] Live Reloading enabled.",
281
+
]
282
+
`;
283
+
284
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("ws"): page errors 1`] = `Array []`;
285
+
264
286
exports[`web socket server URL should work with the "client.webSocketURL.path" option ("sockjs"): console messages 1`] = `
265
287
Array [
266
288
"[HMR] Waiting for update signal from WDS...",
@@ -458,3 +480,25 @@ Array [
458
480
`;
459
481
460
482
exports[`web socket server URL should work with the "client.webSocketURL.username" and "client.webSocketURL.password" option ("ws"): page errors 1`] = `Array []`;
483
+
484
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("sockjs"): console messages 1`] = `
485
+
Array [
486
+
"[HMR] Waiting for update signal from WDS...",
487
+
"Hey.",
488
+
"[webpack-dev-server] Hot Module Replacement enabled.",
489
+
"[webpack-dev-server] Live Reloading enabled.",
490
+
]
491
+
`;
492
+
493
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("sockjs"): page errors 1`] = `Array []`;
494
+
495
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("ws"): console messages 1`] = `
496
+
Array [
497
+
"[HMR] Waiting for update signal from WDS...",
498
+
"Hey.",
499
+
"[webpack-dev-server] Hot Module Replacement enabled.",
500
+
"[webpack-dev-server] Live Reloading enabled.",
501
+
]
502
+
`;
503
+
504
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("ws"): page errors 1`] = `Array []`;
Copy file name to clipboardExpand all lines: test/e2e/__snapshots__/web-socket-server-url.test.js.snap.webpack5
+44Lines changed: 44 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -261,6 +261,28 @@ Array [
261
261
262
262
exports[`web socket server URL should work with the "client.webSocketURL.host" option using "0.0.0.0" value ("ws"): page errors 1`] = `Array []`;
263
263
264
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("sockjs"): console messages 1`] = `
265
+
Array [
266
+
"[HMR] Waiting for update signal from WDS...",
267
+
"Hey.",
268
+
"[webpack-dev-server] Hot Module Replacement enabled.",
269
+
"[webpack-dev-server] Live Reloading enabled.",
270
+
]
271
+
`;
272
+
273
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("sockjs"): page errors 1`] = `Array []`;
274
+
275
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("ws"): console messages 1`] = `
276
+
Array [
277
+
"[HMR] Waiting for update signal from WDS...",
278
+
"Hey.",
279
+
"[webpack-dev-server] Hot Module Replacement enabled.",
280
+
"[webpack-dev-server] Live Reloading enabled.",
281
+
]
282
+
`;
283
+
284
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("ws"): page errors 1`] = `Array []`;
285
+
264
286
exports[`web socket server URL should work with the "client.webSocketURL.path" option ("sockjs"): console messages 1`] = `
265
287
Array [
266
288
"[HMR] Waiting for update signal from WDS...",
@@ -458,3 +480,25 @@ Array [
458
480
`;
459
481
460
482
exports[`web socket server URL should work with the "client.webSocketURL.username" and "client.webSocketURL.password" option ("ws"): page errors 1`] = `Array []`;
483
+
484
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("sockjs"): console messages 1`] = `
485
+
Array [
486
+
"[HMR] Waiting for update signal from WDS...",
487
+
"Hey.",
488
+
"[webpack-dev-server] Hot Module Replacement enabled.",
489
+
"[webpack-dev-server] Live Reloading enabled.",
490
+
]
491
+
`;
492
+
493
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("sockjs"): page errors 1`] = `Array []`;
494
+
495
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("ws"): console messages 1`] = `
496
+
Array [
497
+
"[HMR] Waiting for update signal from WDS...",
498
+
"Hey.",
499
+
"[webpack-dev-server] Hot Module Replacement enabled.",
500
+
"[webpack-dev-server] Live Reloading enabled.",
501
+
]
502
+
`;
503
+
504
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("ws"): page errors 1`] = `Array []`;
0 commit comments