ework-web 0.10.5 → 0.10.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ework-web",
3
- "version": "0.10.5",
3
+ "version": "0.10.6",
4
4
  "type": "module",
5
5
  "description": "ework-web — standalone multi-project issue tracker. Local SQLite-backed, no external API dependency. Bun + TypeScript + SSR HTML.",
6
6
  "license": "MIT",
@@ -112,7 +112,7 @@ function buildSetupScript(envBlock: string, daemonPort: number, mysqlHostRaw: st
112
112
  `EWORK_DAEMON_ENV_EOF`,
113
113
  `echo "$DAEMON_ENDPOINT_LINE"; } > ~/.local/share/ework-aio/ework-daemon/.env`,
114
114
  `echo "[4/5] starting daemon..."`,
115
- `ework-aio start daemon`,
115
+ `ework-aio stop daemon 2>/dev/null; sleep 1; ework-aio start daemon`,
116
116
  `echo "[5/5] verifying daemon is alive..."`,
117
117
  `sleep 3`,
118
118
  `curl -sf --max-time 5 http://127.0.0.1:${String(daemonPort)}/api/status 2>/dev/null && echo "DAEMON_ALIVE" || { echo "DAEMON_FAILED: status check failed"; echo "=== daemon log (last 20 lines) ==="; tail -20 ~/.local/share/ework-aio/run/daemon.log 2>/dev/null || echo "(no log)"; exit 1; }`,