chore: don't remove temp dir

pull/855/head
Divyansh Singh 3 years ago
parent 5dbca1f5e2
commit 3dcb64ce91

1
.gitignore vendored

@ -11,3 +11,4 @@ node_modules
pnpm-global pnpm-global
TODOs.md TODOs.md
.temp .temp
*.tgz

@ -84,7 +84,8 @@ export async function build(
pageToHashMap pageToHashMap
) )
} finally { } finally {
fs.rmSync(siteConfig.tempDir, { recursive: true, force: true }) // TODO: keeping this for debugging, uncomment it before merging
// fs.rmSync(siteConfig.tempDir, { recursive: true, force: true })
} }
console.log(`build complete in ${((Date.now() - start) / 1000).toFixed(2)}s.`) console.log(`build complete in ${((Date.now() - start) / 1000).toFixed(2)}s.`)

Loading…
Cancel
Save