Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 513 Bytes

File metadata and controls

30 lines (22 loc) · 513 Bytes

Contributing

Local development

Clone the repo and tell pi to use your local copy:

git clone https://github.com/leohenon/pi-mux.git
cd pi-mux
pi install .

No build step, pi runs the TypeScript directly. Edit the source, then /reload pick up changes. Must be in a tmux session.

Type-checking

npm install
npx tsc --noEmit

Source

src/
  index.ts     event hooks, commands
  heartbeat.ts liveness files
  swap.ts      pool spawn + swap
  mux-menu.ts  /mux UI