change server start.
This commit is contained in:
parent
bd833e236a
commit
33019c116b
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -23,9 +23,6 @@ jobs:
|
|||||||
NODE_OPTIONS: '--max-old-space-size=4096'
|
NODE_OPTIONS: '--max-old-space-size=4096'
|
||||||
|
|
||||||
- name: Restart Server
|
- name: Restart Server
|
||||||
run: |
|
run: |
|
||||||
# Kill existing process on port 3001
|
|
||||||
lsof -ti:3001 | xargs kill -9 2>/dev/null || true
|
|
||||||
|
|
||||||
# Start server in background with nohup
|
# Start server in background with nohup
|
||||||
nohup npm run start > /tmp/immersive.log 2>&1 &
|
nohup npm run start > /tmp/immersive.log 2>&1 &
|
||||||
Loading…
Reference in New Issue
Block a user