
2 changed files with 20 additions and 0 deletions
@ -0,0 +1,2 @@
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh -ev |
||||
python -m flatisfy import --config config.json --new-only -v "$@" |
@ -0,0 +1,18 @@
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh -ev |
||||
|
||||
function clean_up { |
||||
|
||||
# Perform program exit housekeeping |
||||
kill $SERVE_PID $YARN_PID |
||||
exit |
||||
} |
||||
|
||||
python -m flatisfy serve --config config.json & |
||||
SERVE_PID=$! |
||||
|
||||
yarn watch:dev & |
||||
YARN_PID=$! |
||||
|
||||
trap clean_up SIGHUP SIGINT SIGTERM |
||||
|
||||
wait $SERVE_PID $YARN_PID |
Loading…
Reference in new issue