How to restart app in PM2 without actual files on disk

107 views Asked by At

Is there a way to configure PM2 to restart app by the files from it's last start which are in the memory?

The reason for this is that I want to remove my source codes from server.

If not, it would be awesome if you mention some alternative memory-based ( RAM ) ways to restart nodeJs app without actual files on disk. ( not obfuscate or encrypt or compile or anything like that )

Thanks

0

There are 0 answers