Add notification nav, show only replies in short format

This commit is contained in:
2026-04-17 00:29:51 -07:00
parent 1353acc4d1
commit e27cf391ef
10 changed files with 245 additions and 8 deletions

View File

@@ -292,12 +292,14 @@ function connectWebsocket(request: Request) {
}
const projectRoot = new URL('..', import.meta.url).pathname;
async function devServerWatchFiles() {
const watcher = Deno.watchFs(["../static/", "../src/"]);
for await (const event of watcher) {
if (event.kind === "modify") {
for (const path of event.paths) {
const cachedPath = path.replace(Deno.cwd() + '/..', '')
const cachedPath = path.replace(projectRoot, '/');
filepathResponseCache.delete(cachedPath);
console.log('Purging updated file:', cachedPath)
}