DarthSim / overmind

Process manager for Procfile-based applications and tmux
MIT License
2.82k stars 79 forks source link

Remember last services started/stopped #109

Open holic opened 3 years ago

holic commented 3 years ago

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.

DarthSim commented 3 years ago

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