app/ index.html main.ts
// main.ts const content = Deno.readTextFileSync("./index.html"); Deno.serve(() => new Response(content, { headers: { "Content-Type": "text/html" }, }) );
// index.html <p>Hello world</p>
deno run -A -r --watch main.ts
http://localhost:8000/
index.html