diff --git a/packages/astro/src/content/server-listeners.ts b/packages/astro/src/content/server-listeners.ts index e204d893d..4631aa2bd 100644 --- a/packages/astro/src/content/server-listeners.ts +++ b/packages/astro/src/content/server-listeners.ts @@ -1,14 +1,14 @@ import { bold, cyan } from 'kleur/colors'; import type fsMod from 'node:fs'; +import path from 'node:path'; import { fileURLToPath, pathToFileURL } from 'node:url'; import type { ViteDevServer } from 'vite'; import type { AstroSettings } from '../@types/astro.js'; +import { loadTSConfig } from '../core/config/tsconfig.js'; import { info, LogOptions, warn } from '../core/logger/core.js'; import { appendForwardSlash } from '../core/path.js'; import { createContentTypesGenerator } from './types-generator.js'; import { ContentPaths, getContentPaths, globalContentConfigObserver } from './utils.js'; -import { loadTSConfig } from '../core/config/tsconfig.js'; -import path from 'node:path'; interface ContentServerListenerParams { fs: typeof fsMod;