overmind icon indicating copy to clipboard operation
overmind copied to clipboard

Remember last services started/stopped

Open frolic opened this issue 4 years ago • 1 comments
trafficstars

This might be out of scope, but I'm not sure how best to do this in userland.

Our Procfile has ~10 processes for a complete local development environment. Some of our developers will stop certain processes that don't pertain to exactly what they're working on and are otherwise noisy when restarting Overmind (e.g. you might be working in the ui process on the component library and don't need backend or api running).

It'd be great if Overmind had the ability to remember which services in the Procfile were last started or stopped so that the next time it runs, it starts up the ones you asked it to be running, without needing a Procfile or command per user/workflow.

This might be hard to communicate well in the UI, so something like an Overmind status bar could help with this.

frolic avatar Mar 31 '21 17:03 frolic

Hey Kevin!

This feature involves dynamic scaling of the processes, so it has the same issue as #112.

Most of the dev process managers have the same problem, and it's usually solved by scripts like

#!/bin/sh
overmind -l ui

DarthSim avatar Jul 23 '21 11:07 DarthSim