From 7c4b66799617d3abe968443650b997e5dccfeb5f Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Tue, 16 Sep 2025 22:35:23 -0700 Subject: [PATCH] had to --- src/webapp.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/webapp.ts b/src/webapp.ts index dc7dde7..435d849 100644 --- a/src/webapp.ts +++ b/src/webapp.ts @@ -105,5 +105,9 @@ function publishAppDNS(app: string) { } const appWatcher = watch(NOSE_WWW, (event, filename) => { - apps().forEach(publishAppDNS) + const www = apps() + www.forEach(publishAppDNS) + for (const name in dnsEntries) + if (!www.includes(name)) + dnsEntries[name].kill("SIGTERM") }) \ No newline at end of file