mirror of https://github.com/penpot/penpot.git
✨ Add minimal wait to run-devenv when no compose is started
This commit is contained in:
parent
a4310b4213
commit
5650629b73
|
|
@ -89,6 +89,8 @@ function log-devenv {
|
||||||
function run-devenv-tmux {
|
function run-devenv-tmux {
|
||||||
if [[ ! $(docker ps -f "name=penpot-devenv-main" -q) ]]; then
|
if [[ ! $(docker ps -f "name=penpot-devenv-main" -q) ]]; then
|
||||||
start-devenv
|
start-devenv
|
||||||
|
echo "Waiting for containers fully start (5s)..."
|
||||||
|
sleep 5;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker exec -ti penpot-devenv-main sudo -EH -u penpot PENPOT_PLUGIN_DEV=$PENPOT_PLUGIN_DEV /home/start-tmux.sh
|
docker exec -ti penpot-devenv-main sudo -EH -u penpot PENPOT_PLUGIN_DEV=$PENPOT_PLUGIN_DEV /home/start-tmux.sh
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue