Skip to content

Commit

Permalink
Fix starting issues by waiting the end of synchronization
Browse files Browse the repository at this point in the history
  • Loading branch information
ajardin committed Apr 26, 2019
1 parent 2e5c2f4 commit 40296d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ start: ## Start the environment
--sync-mode="two-way-resolved" \
--ignore-vcs --ignore=".idea" \
"${PROJECT_LOCATION}" "docker://${COMPOSE_PROJECT_NAME}_synchro/var/www/html/"
while [[ ! $$(mutagen list) =~ 'Status: Watching for changes' ]]; do \
echo 'Waiting for synchronization to complete...'; \
sleep 10; \
done

stats: ## Print real-time statistics about containers ressources usage
docker stats $(docker ps --format={{.Names}})
Expand Down

0 comments on commit 40296d9

Please sign in to comment.