fix: release build lock before client refresh

This commit is contained in:
Jacky Zhao 2023-12-17 16:46:17 -08:00
parent d2be097b76
commit 78b33fc2fb

View file

@ -152,10 +152,10 @@ async function startServing(
console.log(chalk.yellow(`Rebuild failed. Waiting on a change to fix the error...`))
}
release()
clientRefresh()
toRebuild.clear()
toRemove.clear()
release()
}
const watcher = chokidar.watch(".", {