2019-07-30 12:10:31 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo 'Make sure this is being run from root folder of project'
|
|
|
|
|
|
|
|
echo 'Starting Client webpack dev server (/app), in a screen, watching for file changes...'
|
|
|
|
screen -dm bash -c "cd client/; npm run watch"
|
|
|
|
|
2019-12-19 21:50:50 -08:00
|
|
|
echo 'Starting API server (/api), watching for file changes...'
|
|
|
|
cd server
|
|
|
|
pm2 start ecosystem.config.js
|