Output from Termux:
$(lsof -nt -i4TCP:$HUGO_PORT)
No command '6836' found, did you mean:
Command 'w3m' from package 'w3m'
Output of the above command expected to be empty if hugo isn’t running. But it’s not.
Look at switching over to fuser instead and do something like:
fuser 1337/tcp # check
fuser -k 1337/tcp #kill
And enhance the script so it reuses hugo server if already running on port 1313 or 1337.
BusyBox v1.29.1 (2018-07-22 23:20:05 UTC) multi-call binary.
No due date set.
This issue currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?