From 623ec4907c2f97fa1cf8d069a8e4682a38586a1c Mon Sep 17 00:00:00 2001 From: Juergen Kunz Date: Fri, 27 Feb 2026 12:09:26 +0000 Subject: [PATCH] fix(tswatch): restart backend on bundle changes and watch shared types - Add ts_bundled/**/* and ts_interfaces/**/* to backend watcher - Remove no-op triggerReload (requires tswatch dev server) --- npmextra.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/npmextra.json b/npmextra.json index 974b191..f7cbf6a 100644 --- a/npmextra.json +++ b/npmextra.json @@ -20,14 +20,13 @@ "bundler": "esbuild", "production": true, "watchPatterns": ["./ts_web/**/*", "./html/**/*"], - "triggerReload": true, "includeFiles": [{"from": "./html/index.html", "to": "index.html"}] } ], "watchers": [ { "name": "backend", - "watch": "./ts/**/*", + "watch": ["./ts/**/*", "./ts_interfaces/**/*", "./ts_bundled/**/*"], "command": "deno run --allow-all mod.ts server", "restart": true, "debounce": 500,