mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
✨ Add minimal wait to run-devenv when no compose is started
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user