Add remote port forwarding command to hotreload.sh
This commit is contained in:
parent
a2b717b336
commit
65e7adc7fa
|
@ -4,6 +4,10 @@ PID=$(pidof delphi.market)
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
echo ":: remote port forwarding for dev1.delphi.market ::"
|
||||||
|
ssh -fnNR 4322:localhost:4321 dev1.delphi.market
|
||||||
|
echo
|
||||||
|
|
||||||
function restart_server() {
|
function restart_server() {
|
||||||
set +e
|
set +e
|
||||||
[[ -z "$PID" ]] || kill -15 $PID
|
[[ -z "$PID" ]] || kill -15 $PID
|
||||||
|
|
Loading…
Reference in New Issue