Because you do a node refresh on the server on every Git Push?
You could make 2 repos to avoid that: frondend + backend
Then you could update frontend without disconecting users... On backend update you'll still get this issue of disconecting on Git pushs, there is no fast-and-easy solution, I think.