summaryrefslogtreecommitdiffstats
path: root/start
diff options
context:
space:
mode:
Diffstat (limited to 'start')
-rwxr-xr-xstart9
1 files changed, 9 insertions, 0 deletions
diff --git a/start b/start
new file mode 100755
index 0000000..929beae
--- /dev/null
+++ b/start
@@ -0,0 +1,9 @@
+#!/bin/sh
+npm run dev &
+npm_pid="$(echo $!)"
+php -S 0.0.0.0:8000 &
+php_pid="$(echo $!)"
+
+echo "Click anything to stop"
+read t
+kill $php_pid $npm_pid