yii-node-socket icon indicating copy to clipboard operation
yii-node-socket copied to clipboard

restart the server.js file Automaticlly

Open taha-deris opened this issue 9 years ago • 2 comments

hi. i now use this plugin and don't have any problem, thank you.

just i have question about when the socket is off and disconnected. many of my site events, chat , and another things is affiliate to socket. so when

  1. restart apache server 2.server.js got error socket is disconnected. and i should be run command
$> ./yii node-socket/start # start server

(However i start the socket server manually by go to widget path in yii vendor and use this command 'node server.js')

now how can restart the server.js file Automaticlly when they disconnected through the above reasons

taha-deris avatar Dec 06 '15 15:12 taha-deris

hi, which error you got?

oncesk avatar Dec 07 '15 08:12 oncesk

and what are you mean

restart the server.js file Automaticlly when they disconnected through the above reasons

?

oncesk avatar Dec 07 '15 08:12 oncesk