diff options
Diffstat (limited to 'start')
| -rwxr-xr-x | start | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -1,9 +1,6 @@ #!/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 +open_in_terminal() { + st -e sh -c "cd $(pwd); $1" +} +open_in_terminal 'npm run dev' & +open_in_terminal 'php -S 0.0.0.0:8000' & |
