Skip to content

Commit

Permalink
Updated sync start so it's ready for Warden 0.3.0
Browse files Browse the repository at this point in the history
Warden 0.3.0 release will automatically start sync session on `env up` and `env start` commands
  • Loading branch information
davidalger authored Mar 4, 2020
1 parent c1cee6b commit b3f6ad6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ warden env up -d
## wait for mariadb to start listening for connections
warden shell -c "while ! nc -z db 3306 </dev/null; do sleep 2; done"

## start sync session only on macOS systems
if [[ $OSTYPE =~ ^darwin ]]; then
## start sync session on macOS where Warden is too old to automatically start mutagen sync
if [[ $OSTYPE =~ ^darwin ]] && test $(version ${WARDEN_VERSION}) -lt $(version 0.3.0); then
warden sync start
fi

Expand Down

0 comments on commit b3f6ad6

Please sign in to comment.