fix double build, chatgpt -> docs

This commit is contained in:
Theis Pieter Hollebeek 2025-10-15 12:00:35 +02:00
parent 8555cea8a8
commit fb2dffbba7
2 changed files with 3 additions and 9 deletions

5
dev.ts
View File

@ -11,12 +11,12 @@ function alertListening(addr: Addr) {
}
async function buildDocs() {
console.log("building docs");
console.log("Building docs...");
await new Deno.Command("deno", {
args: ["task", "build"],
cwd: "docs",
}).output();
console.log("done");
console.log("Done!");
}
async function watchAndBuildDocs() {
@ -48,7 +48,6 @@ function serveDist(addr: Addr) {
}
if (import.meta.main) {
await buildDocs();
watchAndBuildDocs();
serveDist({
hostname: "0.0.0.0",

View File

@ -22,12 +22,7 @@
target="_blank"
>
<button class="icon-button secondary">
<img
src="https://chatgpt.com/favicon.ico"
width="20"
height="20"
>
ChatGPT
🤓 Docs
</button>
</a>