I am trying to run my python script with spacemacs + ipython on my remote machine. I found this and works: Running ipython remotely
But with this approach, everytimes when I lose connection with remote machine ,the Python Buffer just dead(shows no process in this buffer). Then I have to re-open a python buffer, and re-run what I have run in previous python buffer. This is kind of wasting time.
Is it possible to preserve Python buffer and automatic reconnect to it when network is reachable?