Skip to content

Instantly share code, notes, and snippets.

@sammdu
Created May 31, 2022 17:53
Show Gist options
  • Save sammdu/fcef9abe280c51a356433aab922a865d to your computer and use it in GitHub Desktop.
Save sammdu/fcef9abe280c51a356433aab922a865d to your computer and use it in GitHub Desktop.
mprocs sunco yaml config
procs:
ngrok:
shell: ngrok start --all
containers:
shell: >-
if [ -z "`pgrep Docker`" ]; then open -g -j -a /Applications/Docker.app &&
touch .docker_starting.tmp && sleep 25; fi; npm run containers:down;
npm run containers
typescript:
shell: >-
sleep 1; if [ -f ./.docker_starting.tmp ]; then sleep 25; fi; sleep 15 &&
npm run ts:watch
backend trio:
shell: >-
sleep 1; if [ -f ./.docker_starting.tmp ]; then sleep 25; fi; sleep 30 &&
npm run dev
frontend:
shell: >-
sleep 1; if [ -f ./.docker_starting.tmp ]; then sleep 25 &&
rm -f ./.docker_starting.tmp; fi; sleep 35 && npm run webpack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment