Orion/3. Resources/Research/workflows/Keynctr Dev Loop.md
Avi a66996ac10 Orion vault — clean initial history
Knowledge vault (Orion/PARA) migrated from the pre-Orion 484vault on
2026-10-01. Deliberately orphaned: prior history contained a plaintext
password and stays local-only on branch archive/pre-boilerplate-history.
Secrets and live Hermes state are gitignored.
2026-10-02 08:34:48 -05:00

17 lines
689 B
Markdown

---
last-updated: 2026-09-13T23:00:00-05:00
hermes-owned: true
---
# Keynctr Dev Loop (hot-reload UI, rebuild Rust)
**Project:** [[keynctr]] · `frontend/` + Rust crate `keynectr`
1. Build the backend once: `cargo build --release` (Electron spawns `target/release/keynectr serve`).
2. Terminal A: `npx vite --port 5173` (in `frontend/`).
3. Terminal B: `NOSTR_GUI_DEV_URL=http://localhost:5173 KEYNCTR_ENABLE_GPU=1 npx electron .`
- `KEYNCTR_ENABLE_GPU=1` is required on this machine ([[electron-apps-crash-software-gl-arch-hyprland]]).
- **UI edits** hot-reload via vite — no restart.
- **Rust edits** need `cargo build --release` + backend restart.
Related: [[Workflows Index]]