diff --git a/packages/astro/src/content/utils.ts b/packages/astro/src/content/utils.ts index afe15eeb0..5696cf4bf 100644 --- a/packages/astro/src/content/utils.ts +++ b/packages/astro/src/content/utils.ts @@ -170,6 +170,7 @@ export function getEntryType( } else if ((contentFileExts as readonly string[]).includes(ext)) { return 'content'; } else if (fileUrl.href === paths.config.url.href) { + console.log('$$$ASTRO - triggered config load event'); return 'config'; } else { return 'unsupported'; @@ -328,6 +329,11 @@ export function getContentPaths( ): ContentPaths { const configStats = search(fs, srcDir); const templateDir = new URL('../../src/content/template/', import.meta.url); + console.log('$$$ASTRO', { + srcDir: srcDir.pathname, + root: root.pathname, + configUrl: configStats.url.pathname, + }); return { cacheDir: new URL('.astro/', root), contentDir: new URL('./content/', srcDir),