@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/build.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 build({
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(resolve19(Bun.main)).mtimeMs;
173615
173620
  const lastMtime = globalThis.__hmrServerMtime;
@@ -173742,5 +173747,5 @@ export {
173742
173747
  build
173743
173748
  };
173744
173749
 
173745
- //# debugId=620CE33255A7911064756E2164756E21
173750
+ //# debugId=CCC616FF10239A0364756E2164756E21
173746
173751
  //# sourceMappingURL=build.js.map