Add minimal wait to run-devenv when no compose is started

This commit is contained in:
Andrey Antukh
2025-06-03 16:52:49 +02:00
parent a4310b4213
commit 5650629b73

View File

@@ -89,6 +89,8 @@ function log-devenv {
function run-devenv-tmux {
if [[ ! $(docker ps -f "name=penpot-devenv-main" -q) ]]; then
start-devenv
echo "Waiting for containers fully start (5s)..."
sleep 5;
fi
docker exec -ti penpot-devenv-main sudo -EH -u penpot PENPOT_PLUGIN_DEV=$PENPOT_PLUGIN_DEV /home/start-tmux.sh