Auto reconnect on JS script

Hi friends, I’m using blynk on raspberrypi with nodejs but when internet disconnected the connection lost from the server and I must rerunning the js to working. is any way to enable auto reconnect on JS script ?

thanks

the problem solved by forever service.
sorry for posting this topic :disappointed_relieved: