File size: 235 Bytes
bad179a
 
 
 
 
 
1
2
3
4
5
6
7
#!/bin/sh
# Starts Server Monitor (web) and opens the page. Another port: PORT=9000 ./run.sh
cd "$(dirname "$0")" || exit 1
export PORT="${PORT:-8765}"
(sleep 1; xdg-open "http://127.0.0.1:$PORT" >/dev/null 2>&1) &
exec node server.js