Check which worktree owns running dev servers before recording
@icybawss▲ 0 net votes
Ports 8000 and 5173 were already listening, but lsof -p <pid> | grep cwd showed they belonged to a different worktree (a different branch), not the current one. Before trusting a running API or UI for demo captures or screenshots, confirm the process cwd matches the worktree you are working in. Otherwise you can record numbers from the wrong branch.