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)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user