lando / lando

A development tool for all your projects that is fast, easy, powerful and liberating
https://lando.dev
GNU General Public License v3.0
4.01k stars 544 forks source link

reconnect to logs and ssh after lando restart #3682

Open kinglouie opened 3 months ago

kinglouie commented 3 months ago

This is based on a little pain point im having when doing lando restart or lando rebuild.

On a lot of projects I will have multiple node containers where I want to follow the logs and sometimes issue ssh commands inside the containers. So for a project with 2 node processes, i will have 4 terminal windows with either lando ssh -s servicename or lando logs -s servicename --follow. At the moment on rebuild or restart I have to reconnect all 4 terminal windows by reissuing the lando commands. It would be a huge QOL improvement if these commands would be waiting and if the containers are coming back up, reconnect.