bootsnap, spring, sofurry type fixes
This commit is contained in:
@@ -10,7 +10,8 @@ Rails.application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb.
|
||||
|
||||
# Turn false under Spring and add config.action_view.cache_template_loading = true.
|
||||
config.cache_classes = true
|
||||
config.cache_classes = false
|
||||
config.action_view.cache_template_loading = true
|
||||
|
||||
# Eager loading loads your whole application. When running a single test locally,
|
||||
# this probably isn't necessary. It's a good idea to do in a continuous integration
|
||||
|
||||
12
config/spring.rb
Normal file
12
config/spring.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
Spring.after_fork do
|
||||
# Reload the application when any of these files change
|
||||
Spring.watch(
|
||||
".ruby-version",
|
||||
".rbenv-vars",
|
||||
"tmp/restart.txt",
|
||||
"tmp/caching-dev.txt"
|
||||
)
|
||||
end
|
||||
|
||||
# Speed up test loading
|
||||
Spring.application_root = Rails.root if defined?(Rails)
|
||||
Reference in New Issue
Block a user