Files
gitops/npmextra.json
Juergen Kunz 623ec4907c 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)
2026-02-27 12:09:26 +00:00

38 lines
970 B
JSON

{
"@git.zone/tsbundle": {
"bundles": [
{
"from": "./ts_web/index.ts",
"to": "./ts_bundled/bundle.ts",
"outputMode": "base64ts",
"bundler": "esbuild",
"production": true,
"includeFiles": [{"from": "./html/index.html", "to": "index.html"}]
}
]
},
"@git.zone/tswatch": {
"bundles": [
{
"from": "./ts_web/index.ts",
"to": "./ts_bundled/bundle.ts",
"outputMode": "base64ts",
"bundler": "esbuild",
"production": true,
"watchPatterns": ["./ts_web/**/*", "./html/**/*"],
"includeFiles": [{"from": "./html/index.html", "to": "index.html"}]
}
],
"watchers": [
{
"name": "backend",
"watch": ["./ts/**/*", "./ts_interfaces/**/*", "./ts_bundled/**/*"],
"command": "deno run --allow-all mod.ts server",
"restart": true,
"debounce": 500,
"runOnStart": true
}
]
}
}