Developer Builds macOS App to Safely Identify and Stop Rogue Dev Servers
A developer discovered over a dozen forgotten local development servers still running on their Mac, prompting them to build a tool to manage them safely. The resulting native SwiftUI app, Dev Server Activity, identifies running servers by grouping listening sockets with full process context including project folder, command line, PID, and ports. The app supports common runtimes such as Node.js, Vite, Next.js, Python, Ruby, and others, and offers both graceful and forced shutdown options. To prevent accidental termination of the wrong process, it re-validates the process identity immediately before sending any stop signal, failing safely if anything has changed. The tool was designed around the principle that a port number alone is insufficient to establish process identity.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in