Keep app running with balena push in localMode

I am happy with the balena push functionality for testing development in local mode. The containers run and output is shown in a terminal on my development machine. However, the containers are all removed from balenaOS when I exit the terminal process. Is there a way to use the command that keeps the containers running until I push something else?

So far I’ve found balena push <address> --detached && balena logs <address>, which persists the push and shows the logs, at the cost of the live rebuild. A persistent live solution would be great, but this works acceptably.

1 Like

Thank you @MBer for posting your solution!

Let me introduce your feedback into the balena team!

Thanks, I appreciate it!