Skip to content
Snippets Groups Projects
Commit e462b945 authored by Brian Peiris's avatar Brian Peiris
Browse files

allow running bot script with room arg

parent 970c1d60
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,10 @@ yarn ...@@ -16,6 +16,10 @@ yarn
echo 'Running Hubs' echo 'Running Hubs'
yarn serve --ssl --port 8080 ../../public & yarn serve --ssl --port 8080 ../../public &
echo 'Running bots' echo 'Running bots'
node run-bot.js if [ "$1" != "" ]; then
node run-bot.js --room $1
else
node run-bot.js
fi
trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment