diff --git a/src/dev-server/notification-server.ts b/src/dev-server/notification-server.ts index 8395840d..ca28c383 100644 --- a/src/dev-server/notification-server.ts +++ b/src/dev-server/notification-server.ts @@ -32,7 +32,7 @@ export function createNotificationServer(config: ServeConfig) { try { sendMethod(JSON.stringify(msg)); } catch (e) { - if (e.message !== 'not opened') { + if (e.message !== 'not opened' && e.message !== `Cannot read property 'readyState' of undefined`) { Logger.error(`error sending client ws - ${e.message}`); } }