Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
Is there a way to live reload cloud code without restarting entire parse server?
There is no way at the moment. Please submit a pull request if you feel that's a necessary feature
Anybody working on this?
+1
@flovilmart can this issue be reopend so somebody with more knowledge about it can maybe see and fix it? or at least give some tips on how to fix this.
I'm not sure there is an actual fix without refactoring completely the way cloud code is run, by either forking processes or run it inside it's own VM. After that you'd have to implement a safe way to upload your cloud code files to the server(s) and reload the newly updated scripts from there.
You can also use Parse Cloud Express and run cloud code on a separate server.
@flovilmart Thanks for the clarification! I'll check out Parse Cloud Express.
How come reloading works in parse.com? does parse.com use a seperate server for Cloud Code?
Parse.com was written in go and was spawning a V8 for each cloud code request.
Just run server with nodemon "watching" the cloud folder:
npx nodemon -w ./cloud parse-server
Most helpful comment
@flovilmart can this issue be reopend so somebody with more knowledge about it can maybe see and fix it? or at least give some tips on how to fix this.