how to avoid address already in use and force restart http when deploy ?
- I create a new hook to start to start node server
but have issue on each push code, it deploy, but not restart correctly http server
Error: listen EADDRINUSE: address already in use :::8080 at Server.setupListenHandle [as _listen2] (net.js:1313:16) at listenInCluster (net.js:1361:12) at Server.listen (net.js:1447:7) at Function.listen
and it will be perfect if it restart each time when http down ?