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 fd63e02 commit 6ef561cCopy full SHA for 6ef561c
lib/Server.js
@@ -40,12 +40,14 @@ class Server {
40
this.webSocketHeartbeatInterval = 30000;
41
42
normalizeOptions(
43
- this.compiler,
44
- this.options,
45
- this.logger,
46
- Server.findCacheDir()
+ this.compiler,
+ this.options,
+ this.logger,
+ Server.findCacheDir()
47
);
48
+ }
49
50
+ initialize() {
51
this.applyDevServerPlugin();
52
53
this.webSocketServerImplementation = getSocketServerImplementation(
@@ -924,6 +926,8 @@ class Server {
924
926
.then((foundPort) => {
925
927
this.options.port = foundPort;
928
929
+ this.initialize();
930
+
931
return this.server.listen(
932
this.options.port,
933
this.options.host,
0 commit comments