« get me outta code hell

infra, write: use showAggregate when loading content functions - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/write
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-01-01 13:31:15 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-01-01 20:06:23 -0400
commit6c7c81fcdb5574c47fc59809005d1066123abb28 (patch)
tree921bf003f4b22a20838dd825d84a2f50d755a898 /src/write
parent01574bba9d2af7d50a6baa1b33dc5901fb6f2391 (diff)
infra, write: use showAggregate when loading content functions
Diffstat (limited to 'src/write')
-rw-r--r--src/write/build-modes/live-dev-server.js5
-rw-r--r--src/write/build-modes/static-build.js4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/write/build-modes/live-dev-server.js b/src/write/build-modes/live-dev-server.js
index 6e7df0ef..8160c8f9 100644
--- a/src/write/build-modes/live-dev-server.js
+++ b/src/write/build-modes/live-dev-server.js
@@ -106,7 +106,10 @@ export async function go({
   const skipServing = cliOptions['skip-serving'] ?? false;
   const serveSFX = cliOptions['serve-sfx'] ?? null;
 
-  const contentDependenciesWatcher = await watchContentDependencies();
+  const contentDependenciesWatcher = await watchContentDependencies({
+    showAggregate: niceShowAggregate,
+  });
+
   const {contentDependencies} = contentDependenciesWatcher;
 
   contentDependenciesWatcher.on('error', () => {});
diff --git a/src/write/build-modes/static-build.js b/src/write/build-modes/static-build.js
index d2802f4e..f292fde0 100644
--- a/src/write/build-modes/static-build.js
+++ b/src/write/build-modes/static-build.js
@@ -256,7 +256,9 @@ export async function go({
 
   let errored = false;
 
-  const contentDependencies = await quickLoadContentDependencies();
+  const contentDependencies = await quickLoadContentDependencies({
+    showAggregate: niceShowAggregate,
+  });
 
   const perLanguageFn = async (language, i, entries) => {
     const baseDirectory =