Update deploy-dev.sh to include proper exit