format
This commit is contained in:
parent
a026ddad33
commit
a6904be6f1
@ -115,7 +115,6 @@ async function startServing(
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
if (action === "add" || action === "change") {
|
||||
toRebuild.add(filePath)
|
||||
} else if (action === "delete") {
|
||||
@ -133,8 +132,7 @@ async function startServing(
|
||||
try {
|
||||
const filesToRebuild = [...toRebuild].filter((fp) => !toRemove.has(fp))
|
||||
|
||||
const trackedSlugs =
|
||||
[...new Set([...contentMap.keys(), ...toRebuild, ...trackedAssets])]
|
||||
const trackedSlugs = [...new Set([...contentMap.keys(), ...toRebuild, ...trackedAssets])]
|
||||
.filter((fp) => !toRemove.has(fp))
|
||||
.map((fp) => slugifyFilePath(path.posix.relative(argv.directory, fp) as FilePath))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user