feat: add auto reload on restart (#70)
This commit adds support for auto reloading open pages when fresh restarts. This is particularly useful when `deno run` is used with `--watch`.
This commit is contained in:
@@ -120,7 +120,6 @@ Deno.test("/static page prerender", async () => {
|
||||
assertEquals(resp.headers.get("content-type"), "text/html; charset=utf-8");
|
||||
const body = await resp.text();
|
||||
assert(!body.includes(`static.js`));
|
||||
assert(!body.includes(`</script>`));
|
||||
assertStringIncludes(body, "<p>This is a static page.</p>");
|
||||
assert(!body.includes("__FRSH_PROPS"));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user