aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/play.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/play.sh b/scripts/play.sh
index 33dc1a545..ab812025c 100755
--- a/scripts/play.sh
+++ b/scripts/play.sh
@@ -5,7 +5,9 @@ if [ ! -f server.js ]; then
5 exit -1 5 exit -1
6fi 6fi
7 7
8for i in 1 2 3; do 8max=${1:-3}
9
10for i in $(seq 1 $max); do
9 NODE_ENV=test NODE_APP_INSTANCE=$i node server.js & 11 NODE_ENV=test NODE_APP_INSTANCE=$i node server.js &
10 sleep 1 12 sleep 1
11done 13done