Last active
          February 19, 2016 06:41 
        
      - 
      
 - 
        
Save adamrneary/81f5e9914969cd55f36f to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash -x | |
| echo "Waiting for mothership server to become active" | |
| while ! nc -z localhost $MOTHERSHIP_PORT; do sleep 2; done | |
| echo "Waiting for beacon to become active" | |
| while ! nc -z localhost $SIGNALLING_SERVER_PORT; do sleep 2; done | |
| echo "Waiting for admin build to complete" | |
| while [ ! -f /tmp/webpack-admin ]; do sleep 2; done | |
| echo "Waiting for execution build to complete" | |
| while [ ! -f /tmp/webpack-execution]; do sleep 2; done | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment