We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18636c3 commit 4668ea7Copy full SHA for 4668ea7
packages/serve/startDevServer.ts
@@ -12,7 +12,9 @@ import * as Server from "webpack-dev-server/lib/Server";
12
*/
13
export default function startDevServer(compiler, options, onListening): void {
14
const server = new Server(compiler, options);
15
- server.listen(options.port, options.host, (err): void => {
+ // Once the dev server has better socket handling within the API listen method,
16
+ // this will work better
17
+ server.listen(options.socket || options.port, options.host, (err): void => {
18
if (err) {
19
throw err;
20
}
0 commit comments