@absolutejs/absolute 0.18.2-beta.4 → 0.18.2-beta.6

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,13 +173594,15 @@ 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,
173600
173601
  mode: "development",
173601
173602
  options: {
173602
173603
  ...state.config.options,
173603
- injectHMR: true
173604
+ injectHMR: true,
173605
+ throwOnError: true
173604
173606
  }
173605
173607
  });
173606
173608
  if (newManifest) {
@@ -173609,7 +173611,10 @@ var FRAMEWORK_DIR_KEYS, reloadConfig = async () => {
173609
173611
  await populateAssetStore(state.assetStore, cached.manifest, state.resolvedPaths.buildDir);
173610
173612
  await cleanStaleAssets(state.assetStore, cached.manifest, state.resolvedPaths.buildDir);
173611
173613
  }
173612
- } catch {}
173614
+ } catch {} finally {
173615
+ state.isRebuilding = false;
173616
+ state.fileChangeQueue.clear();
173617
+ }
173613
173618
  }, handleCachedReload = async () => {
173614
173619
  const serverMtime = statSync(resolve20(Bun.main)).mtimeMs;
173615
173620
  const lastMtime = globalThis.__hmrServerMtime;
@@ -174165,5 +174170,5 @@ export {
174165
174170
  ANGULAR_INIT_TIMEOUT_MS
174166
174171
  };
174167
174172
 
174168
- //# debugId=7812D3EBBB998C4164756E2164756E21
174173
+ //# debugId=672A2D97CCCA03A964756E2164756E21
174169
174174
  //# sourceMappingURL=index.js.map