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.
17 lines
689 B
Markdown
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]]
|