SolidScribe/startDevServerAndClient.sh
Max G 7806a206b2 Large refactor on the front end
Created pages directory
Added night mode
2019-07-30 19:10:31 +00:00

11 lines
316 B
Bash
Executable File

#!/bin/bash
echo 'Make sure this is being run from root folder of project'
echo 'Starting API server (/api), watching for file changes...'
pm2 start server/index.js --watch
echo 'Starting Client webpack dev server (/app), in a screen, watching for file changes...'
screen -dm bash -c "cd client/; npm run watch"