Reputation: 198318
You know, in play2, we can use play ~run
to auto-reload the changed code without restarting.
But now I have to use play start
to start my play application on a public server, to let some users use and test.
Is there any way to let play still auto-reload?
Upvotes: 1
Views: 1321
Reputation: 55798
No, that's the difference between run
and start
So you just need to stop the app and run it again with:
play stop
or
kill `cat RUNNING_PID`
if it's dist
version without play console
Edit: For keep running the application you should start two instances of the application and use ie. lighthttpd as a load balancer: http://www.playframework.org/documentation/2.0.2/HTTPServer (section Set-up with lighttpd)
Upvotes: 2