bob icon indicating copy to clipboard operation
bob copied to clipboard

`bob run` restart behaviour

Open Equanox opened this issue 3 years ago • 0 comments

The tui spawned by bob run allows to restart the whole environment (hard-restart) using ctrl+r. This will trigger a rebuild and a shutdown of the whole environment + rampup. In case of a compose task it could be handy to only restart changed containers aka soft-restart (docker-compose up can do this out of the box).

  • Always run the complete build (already implemented)
  • Do not run pre&post scripts on a soft-restart
  • Tab aware ctrl-r OR More Generic: track the binary checksum on start and restart only on change (docker-compose already does this). How to do this for cmd:? Probably ignore on restart?
  • Don't run docker-compose down by default #98

Equanox avatar Apr 01 '22 10:04 Equanox