diff options
Diffstat (limited to 'StartServer.sh')
-rw-r--r-- | StartServer.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/StartServer.sh b/StartServer.sh new file mode 100644 index 0000000..66bfc45 --- /dev/null +++ b/StartServer.sh @@ -0,0 +1,11 @@ +#!/bin/bash -e +redis-server & +PIDS[0]=$! +php artisan serve & +PIDS[1]=$! +npm run watch &#> /dev/null 2>&1 +PIDS[2]=$! + +trap "kill ${PIDS[*]}" SIGINT + +wait |