miaoda-expo-devkit 0.1.1-beta.111 → 0.1.1-beta.112
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.
package/package.json
CHANGED
|
@@ -279,7 +279,7 @@ new file mode 100644
|
|
|
279
279
|
+ const errorBuildID = isHmrError ? activeBuildID : buildID ?? lastFailedBuildID ?? activeBuildID;
|
|
280
280
|
+ if (!isCurrentBuild(errorBuildID, true)) return;
|
|
281
281
|
+ if (isHmrError) {
|
|
282
|
-
+ // HMR
|
|
282
|
+
+ // HMR 错误不携带 Metro build ID,保留变更标识以匹配后续恢复事件。
|
|
283
283
|
+ activeHmrChangeID = event.changeID ?? activeHmrChangeID;
|
|
284
284
|
+ }
|
|
285
285
|
+ lastFailedBuildID = errorBuildID;
|