1
0
forked from noxious/server

Take cmds

This commit is contained in:
Dennis Postma 2025-02-09 03:22:48 +01:00
parent 7b4674587a
commit d6aa8da2de

View File

@ -46,7 +46,8 @@ stop_server() {
start_server() { start_server() {
if ! is_server_running; then if ! is_server_running; then
log "Starting Node server..." log "Starting Node server..."
npm run start & # Start the server and connect stdin
npm run start < /dev/stdin &
sleep 2 # Wait for the server to start sleep 2 # Wait for the server to start
if is_server_running; then if is_server_running; then