fix double build, chatgpt -> docs
This commit is contained in:
parent
8555cea8a8
commit
fb2dffbba7
5
dev.ts
5
dev.ts
@ -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",
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user