diff options
Diffstat (limited to 'config/helpers')
-rw-r--r-- | config/helpers/incremental_webpack_compiler/compiler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/helpers/incremental_webpack_compiler/compiler.js b/config/helpers/incremental_webpack_compiler/compiler.js index 0ef090bce24..2614501faa4 100644 --- a/config/helpers/incremental_webpack_compiler/compiler.js +++ b/config/helpers/incremental_webpack_compiler/compiler.js @@ -102,7 +102,7 @@ class IncrementalWebpackCompiler { setTimeout(() => { devServer.invalidate(() => { - if (devServer.sockets) { + if (Array.isArray(devServer.webSocketServer && devServer.webSocketServer.clients)) { devServer.sendMessage(devServer.webSocketServer.clients, 'static-changed'); } }); |