class method
self.reload
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
self.reload(pid)
Forces the (rails) application to reload by sending a HUP signal to the process.
Parameters
-
pidreq
Source
# File railties/lib/commands/process/reaper.rb, line 20
def reload(pid)
`kill -s HUP #{pid}`
end
Defined in railties/lib/commands/process/reaper.rb line 20
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Killer