summaryrefslogtreecommitdiffstats
path: root/start
diff options
context:
space:
mode:
Diffstat (limited to 'start')
-rwxr-xr-xstart14
1 files changed, 4 insertions, 10 deletions
diff --git a/start b/start
index eab407e..854b41a 100755
--- a/start
+++ b/start
@@ -1,11 +1,5 @@
#!/bin/sh
-
-terminal=st
-# OpenInTerminal
-oit() {
- $terminal -e $@
-}
-oit "lvim src/index.ts" &
-oit "yarn serve " &
-oit "src/server/start" &
-
+npm run serve > npm.log 2>&1 &
+echo $! > npm.pid
+php -S 127.0.0.1:8001 -t src/server/ > php.log 2>&1 &
+echo $!> php.pid