forked from ppfun/pixelplanet
make example ecosystem.yml watch the server script for changes
This commit is contained in:
parent
05298604b1
commit
0a4199e633
|
@ -1,7 +1,9 @@
|
|||
apps:
|
||||
- script : ./server.js
|
||||
name : 'ppfun-server'
|
||||
node_args: --nouse-idle-notification --expose-gc
|
||||
- script : ./server.js
|
||||
name : 'ppfun'
|
||||
node_args : --nouse-idle-notification --expose-gc
|
||||
watch : [ 'server.js' ]
|
||||
watch_delay: 5000
|
||||
env:
|
||||
PORT: 5000
|
||||
HOST: "localhost"
|
||||
|
|
Loading…
Reference in New Issue