portwatch
Release notes
Upgrade with brew upgrade portwatch. arm64, macOS 13 or later, Developer ID signed and notarized.
0.3.0
4 November 2026New
- The SOURCE column now grows to fill the terminal width, so long project paths stay distinguishable. It never goes narrower than before.
- When consecutive rows are the same process (for example several node servers), the repeated name is dimmed so the run reads as one block.
0.2.1
13 October 2026Fixes
- Terminal escape sequences in process names and directory names are now scrubbed. They could retitle the window, spoof or hide rows, or write to the clipboard on some terminals.
- Pasted text can no longer trigger a kill, exclude or toggle. Pasting something like “proxy” while portwatch had focus could kill the selected process. This was a regression from the Node version.
- “data race detected” warnings no longer print over the display on every keypress or resize.
No CVE and no known exploitation; the exposure needed a local process or a cloned repo with a crafted folder name, or a paste while portwatch had focus.
0.2.0
12 October 2026portwatch is now a single dependency-free Swift binary. It reads listening sockets straight from libproc instead of spawning lsof and ps every 2 seconds. Same keys, columns, filtering and excludes.json format as 0.1.x.
- Idle resident memory: 6.8 MB, down from 41.4 MB on the Node version.
- CPU over 30 seconds idle: 0.06 s, down from 0.43 s.
- Install needs no Node; brew upgrade portwatch replaces it.
- arm64 only, macOS 13 or later. Developer ID signed and notarized.
- Draws on the terminal’s alternate screen, so quitting leaves your scrollback untouched.
- An unreadable excludes.json now shows an error and keeps polling.