diff --git a/.changeset/eight-mugs-joke.md b/.changeset/eight-mugs-joke.md new file mode 100644 index 00000000..7b453eed --- /dev/null +++ b/.changeset/eight-mugs-joke.md @@ -0,0 +1,5 @@ +--- +"@content-collections/integrations": patch +--- + +Fix console output of file-changed event diff --git a/packages/integrations/src/index.ts b/packages/integrations/src/index.ts index 1e51d7bd..c55f7381 100644 --- a/packages/integrations/src/index.ts +++ b/packages/integrations/src/index.ts @@ -25,9 +25,9 @@ export function configureLogging(builder: Builder) { builder.on("watcher:file-changed", (event) => { const relativePath = path.relative(process.cwd(), event.filePath); if (event.modification === "delete") { - console.log("... file deleted", relativePath); + console.log("... file", relativePath, "deleted"); } else { - console.log("... file changed", relativePath); + console.log("... file", relativePath, "changed"); } });