diff --git a/quartz.lock.json b/quartz.lock.json index b9941bd..cdaddfb 100644 --- a/quartz.lock.json +++ b/quartz.lock.json @@ -196,7 +196,7 @@ "resolved": "https://github.com/saberzero1/quartz-themes.git", "commit": "0af2a0592b72a5971210789fe16bca7ba2b769a3", "subdir": "plugin", - "installedAt": "2026-03-25T23:36:25.409Z" + "installedAt": "2026-03-26T10:39:10.052Z" }, "reader-mode": { "source": "github:quartz-community/reader-mode", diff --git a/quartz/cli/plugin-git-handlers.js b/quartz/cli/plugin-git-handlers.js index 78e1f18..d551ef4 100644 --- a/quartz/cli/plugin-git-handlers.js +++ b/quartz/cli/plugin-git-handlers.js @@ -847,10 +847,12 @@ export async function handlePluginUpdate(names) { subdir: entry.subdir, pluginDir, }) + if (needsBuild(pluginDir)) { + updatedPlugins.push({ name, pluginDir }) + } if (newCommit !== entry.commit) { entry.commit = newCommit entry.installedAt = new Date().toISOString() - updatedPlugins.push({ name, pluginDir }) console.log( styleText( "green", @@ -858,7 +860,7 @@ export async function handlePluginUpdate(names) { ), ) } else { - console.log(styleText("gray", `✓ ${name} already up to date`)) + console.log(styleText("gray", `✓ ${name} rebuilt (subdir: ${entry.subdir})`)) } } else { const fetchRef = entry.ref || ""