Flatisfy is your new companion to ease your search of a new housing :)

start.sh 276B

123456789101112131415161718
  1. #!/bin/sh -ev
  2. function clean_up {
  3. # Perform program exit housekeeping
  4. kill $SERVE_PID $YARN_PID
  5. exit
  6. }
  7. python -m flatisfy serve --config config.json -v &
  8. SERVE_PID=$!
  9. yarn watch:dev &
  10. YARN_PID=$!
  11. trap clean_up SIGHUP SIGINT SIGTERM
  12. wait $SERVE_PID $YARN_PID