@absolutejs/absolute 0.18.2-beta.5 → 0.18.2-beta.7

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/dist/index.js CHANGED
@@ -173594,6 +173594,7 @@ var FRAMEWORK_DIR_KEYS, reloadConfig = async () => {
173594
173594
  }
173595
173595
  }, rebuildManifest = async (cached) => {
173596
173596
  const state = cached.hmrState;
173597
+ state.isRebuilding = true;
173597
173598
  try {
173598
173599
  const newManifest = await build2({
173599
173600
  ...state.config,
@@ -173605,12 +173606,20 @@ var FRAMEWORK_DIR_KEYS, reloadConfig = async () => {
173605
173606
  }
173606
173607
  });
173607
173608
  if (newManifest) {
173609
+ for (const key of Object.keys(cached.manifest)) {
173610
+ if (!(key in newManifest)) {
173611
+ delete cached.manifest[key];
173612
+ }
173613
+ }
173608
173614
  Object.assign(cached.manifest, newManifest);
173609
173615
  state.manifest = cached.manifest;
173610
173616
  await populateAssetStore(state.assetStore, cached.manifest, state.resolvedPaths.buildDir);
173611
173617
  await cleanStaleAssets(state.assetStore, cached.manifest, state.resolvedPaths.buildDir);
173612
173618
  }
173613
- } catch {}
173619
+ } catch {} finally {
173620
+ state.isRebuilding = false;
173621
+ state.fileChangeQueue.clear();
173622
+ }
173614
173623
  }, handleCachedReload = async () => {
173615
173624
  const serverMtime = statSync(resolve20(Bun.main)).mtimeMs;
173616
173625
  const lastMtime = globalThis.__hmrServerMtime;
@@ -174166,5 +174175,5 @@ export {
174166
174175
  ANGULAR_INIT_TIMEOUT_MS
174167
174176
  };
174168
174177
 
174169
- //# debugId=5DEDBDE141B36FAD64756E2164756E21
174178
+ //# debugId=A4B48E1F65BC8FEE64756E2164756E21
174170
174179
  //# sourceMappingURL=index.js.map