From f9cae32631e9ce32f93c8ed53d0b7b8b79917e83 Mon Sep 17 00:00:00 2001 From: Arsalan Yaldram Date: Thu, 7 Jul 2022 14:00:57 +0530 Subject: [PATCH] fix: webpack hot reload issue (#15070) fix: hot reload issue --- app/client/craco.common.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/client/craco.common.config.js b/app/client/craco.common.config.js index 3777b5e40a..78360a1e08 100644 --- a/app/client/craco.common.config.js +++ b/app/client/craco.common.config.js @@ -4,7 +4,10 @@ module.exports = { devServer: { client: { webSocketURL: { - protocol: "wss", + hostname: "127.0.0.1", + pathname: "/ws", + port: 3000, + protocol: "ws", }, }, },