Fixed hanging json-api issue with dev-run script
This commit is contained in:
parent
368c9bc95f
commit
ceabc73cf7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user