Skip to content
Devbar
Esc
↑↓navigate↵open⌘Jpreview
On this page

Dev servers

Devbar lists the ports your projects are listening on, grouped by project, so you can open, copy, or stop a dev server without hunting for the terminal it's in.

Below the quota, the menu lists every project with a dev server running on your Mac, one row per project folder. A project with one port shows localhost:<port> and the process name under it. A project with several ports shows its process names and a count of its ports, so a project running many servers still takes one row. When nothing is running, the list doesn’t appear.

Devbar scans each time you open the menu, using lsof to find TCP ports that are listening. A port counts as a dev server when its process was started from a project folder. System services and apps start from / or from inside their app bundle, so they’re left out.

Projects with several ports

Hover over a project to see its ports, each with the process name under it.

A project's submenu listing four localhost ports with their process names, and Stop All Processes at the bottom
Every port in a project, and one click to stop them all.
  • Stop All Processes sends SIGTERM to every process listening in that project.
  • Force Stop All Processes sends SIGKILL. Hold ⌥ to see it.

What you can do with a port

Hover over a port, or over a project with a single port, to open its actions:

  • Open in Browser opens http://localhost:<port>.
  • Copy URL copies the URL to the clipboard. Hold ⌥ to see Copy PID in its place.
  • Hide hides every process with that name, like node, from the list.
  • Stop Process sends SIGTERM, the polite way to ask a process to quit.
  • Force Stop Process sends SIGKILL. Hold ⌥ to see it.

Hidden processes

Hidden process names are listed in Settings under Dev Servers. Choose Show All to bring them back. You can also turn the whole list off with Show dev servers.