forked from noxious/server
Take cmds
This commit is contained in:
parent
7b4674587a
commit
d6aa8da2de
3
start.sh
3
start.sh
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user