@atlaspack/runtime-browser-hmr 2.14.16-dev-eae8c193d.0 → 2.14.16-typescript-9a5730863.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -170,8 +170,10 @@ if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
|
|
|
170
170
|
console.error(e.message);
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
|
-
ws.onclose = function () {
|
|
174
|
-
|
|
173
|
+
ws.onclose = function (e) {
|
|
174
|
+
if (process.env.ATLASPACK_BUILD_ENV !== 'test') {
|
|
175
|
+
console.warn('[parcel] 🚨 Connection to the HMR server was lost');
|
|
176
|
+
}
|
|
175
177
|
};
|
|
176
178
|
}
|
|
177
179
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/runtime-browser-hmr",
|
|
3
|
-
"version": "2.14.16-
|
|
3
|
+
"version": "2.14.16-typescript-9a5730863.0",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"node": ">= 16.0.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@atlaspack/plugin": "2.14.16-
|
|
19
|
-
"@atlaspack/utils": "2.15.4-
|
|
18
|
+
"@atlaspack/plugin": "2.14.16-typescript-9a5730863.0",
|
|
19
|
+
"@atlaspack/utils": "2.15.4-typescript-9a5730863.0"
|
|
20
20
|
},
|
|
21
21
|
"type": "commonjs",
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "9a57308636c79e085d21eec951aa80b6fccb5c91"
|
|
23
23
|
}
|