Whenever I change my shiny code and rerun it using the "reload app" button on the top right I get "connection refused". On the second attempt it goes through. Attaching a screen cast to show the problem.
screencast
I tried saving the file first but still the same problem.