Restart openrov service after arduino upload


#1

I have to restart the openrov (/etc/init.d/openrov restart) after each Arduino upload. Any idea how to fix this? It looks like in OpenROVController.js on line 32 that the on 'close' event handler simply logs the connection as closed and does not try to reconnect. This is my first exposure to node.js, so I am still trying to wrap my head around its architecture.