aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-03-30 10:41:41 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2016-03-30 11:20:15 +0530
commit9d87ce34f865fa9d7a24ef9f1f1b0d4dedfd3fbf (patch)
treeb31cc37249b76d6e908c57746019857698ea38fa /railties/CHANGELOG.md
parentafba03f79c9e3e88fbb9e38dbb905546f16f0d9e (diff)
downloadrails-9d87ce34f865fa9d7a24ef9f1f1b0d4dedfd3fbf.tar.gz
rails-9d87ce34f865fa9d7a24ef9f1f1b0d4dedfd3fbf.tar.bz2
rails-9d87ce34f865fa9d7a24ef9f1f1b0d4dedfd3fbf.zip
Fix rails restart issue with Puma
- We need to pass the restart command to Puma so that it will use it while restarting the server. - Also made sure that all the options passed by user while starting the server are used in the generated restart command so that they will be used while restarting the server. - Besides that we need to remove the server.pid file for the previous running server because otherwise Rack complains about it's presence. - We don't care if the server.pid file does not exist. We only want to delete it if it exists. - This also requires some changes on Puma side which are being tracked here - https://github.com/puma/puma/pull/936. - Fixes #23910.
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r--railties/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index 7193238e83..52c2e0743c 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -1,3 +1,8 @@
+* Make `rails restart` command work with Puma by passing the restart command
+ which Puma can use to restart rails server.
+
+ *Prathamesh Sonpatki*
+
* The application generator writes a new file `config/spring.rb`, which tells
Spring to watch additional common files.