diff options
| author | Maksymilian Jopek <maks@jopek.eu> | 2023-04-12 10:36:33 +0200 |
|---|---|---|
| committer | Maksymilian Jopek <maks@jopek.eu> | 2023-04-12 10:36:33 +0200 |
| commit | f056c29fd5c331c88fbd432db01474c63fb0edad (patch) | |
| tree | 13ffe140153ebf7d629d0067078c7b4caadcff05 /start | |
| parent | 261a7ac22a6027e024aa12efb35cbeaac67fad59 (diff) | |
| download | alahelo-madio-master.tar.gz alahelo-madio-master.tar.zst alahelo-madio-master.zip | |
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' & |
