From 6c7c81fcdb5574c47fc59809005d1066123abb28 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 1 Jan 2024 13:31:15 -0400 Subject: infra, write: use showAggregate when loading content functions --- src/write/build-modes/live-dev-server.js | 5 ++++- src/write/build-modes/static-build.js | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'src/write') 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 = -- cgit 1.3.0-6-gf8a5