Open JanStevens opened 8 years ago
I think Rails (or at least Rails 5) is handling it (mtime
of tmp/restart.txt
)! So it should be working here. Try it.
This works using puma
and plugin :tmp_restart
. You have to be careful though not to use rails s
but bundle exec puma -p $YOUR_PORT --pid=tmp/pids/app.pid
if you want to start different rails app-configurations out of a single folder.
In rails it happens that you need to restart your complete server, coming from pow I could do it "easily" by touching a file
tmp/restart.txt
in my application folder.It would be handy if hotel included a
reload
button to easily stop / start a service again and an additional CLI commandhotel reload
for example