I've accidentally saved over an existing node.js script-file making it completely blank on the file system. I'm not using any type of version control, so this long script file seems unrecoverable.
However, the app is currently running via pm2 (because it was started before I made this mistake).
Is there any way to recover this file from the running app via the node.js command prompt?