-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloud code live reload #1019
Comments
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 npx nodemon -w ./cloud parse-server |
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?
The text was updated successfully, but these errors were encountered: