Fixed hanging json-api issue with dev-run script

This commit is contained in:
shockrah 2021-04-07 21:06:46 -07:00
parent 368c9bc95f
commit ceabc73cf7

View File

@ -2,6 +2,8 @@
# This script assumes that everything has been built already
export DATABASE_URL=mysql://freechat_dev:password@localhost:3306/freechat
json-api/target/release/json-api -s
rtc-server/target/release/rtc-server
json-api/target/release/json-api -s &
pushd rtc-server
npm start
popd
kill $(pgrep json-api)