Closed michquinn closed 9 months ago
Alternatively a command could be run to edit mh after the update, inserting the contents of that file in place so it doesn't have to be sourced. Looks like sed supports it
I like the first option better
We need to move the fetch of docker-compose up in the update logic to happen BEFORE we build those files... so that when we build them we are using the most recent compose.yaml file.
ATTN @FlatBallFlyer
Currently, mh runs three
docker compose config
commands upon each run, while it only needs to be executed onmh update
One possibility to save the result is to create a file like so in the update function
Then source this file when needed
I'm not home to test this now but once I have I can submit a PR