mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-24 06:22:31 -05:00
f3cc7360e0
After fork SiteSettings was not getting a new process id, causing site settings not to refresh properly in unicorn This code also centralizes the logic
11 lines
277 B
Ruby
11 lines
277 B
Ruby
# spring speeds up your dev environment, similar to zeus but build in Ruby
|
|
#
|
|
# gem install spring
|
|
#
|
|
# spring binstub rails
|
|
# spring binstub rake
|
|
# spring binstub rspec
|
|
Spring.after_fork do
|
|
Discourse.after_fork
|
|
end
|
|
Spring::Commands::Rake.environment_matchers["spec"] = "test"
|