bump to v4

This commit is contained in:
2024-01-05 17:29:34 +09:00
parent a3fdbbe5eb
commit e1569dcc1f
45 changed files with 2833 additions and 2131 deletions

View File

@@ -147,14 +147,17 @@ async function startServing(
await rimraf(argv.output)
await emitContent(ctx, filteredContent)
console.log(chalk.green(`Done rebuilding in ${perf.timeSince()}`))
} catch {
} catch (err) {
console.log(chalk.yellow(`Rebuild failed. Waiting on a change to fix the error...`))
if (argv.verbose) {
console.log(chalk.red(err))
}
}
release()
clientRefresh()
toRebuild.clear()
toRemove.clear()
release()
}
const watcher = chokidar.watch(".", {