Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #529 from IBM-Swift/iterative-dev
Browse files Browse the repository at this point in the history
fix: local iterative-dev usage
  • Loading branch information
Christian Compton authored May 2, 2018
2 parents 3523353 + c790690 commit 0095961
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion refresh/templates/common/iterative-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ while true; do
else
# assumes you are running from "normal"/host operating system
swift build
./.build/debug/<%- executableModule %> &
if [[ $? == 0 ]]; then
# only start server is build was successful (result code 0)
./.build/debug/<%- executableModule %> &
fi
fi

fi
Expand Down

0 comments on commit 0095961

Please sign in to comment.