diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-05-23 17:26:09 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-05-23 17:26:09 -0400 |
commit | 49df9043c63bb08c3ad26631221f842516be616c (patch) | |
tree | 0e0d77c640c9a3829bef851f75e509b7f3fc6251 /railties | |
parent | 2e6e8142a2bdc0cd6153f7f4adb7421db814498c (diff) | |
parent | 272df8fcedcb8ff6b36b3e8953d17f552e1fc624 (diff) | |
download | rails-49df9043c63bb08c3ad26631221f842516be616c.tar.gz rails-49df9043c63bb08c3ad26631221f842516be616c.tar.bz2 rails-49df9043c63bb08c3ad26631221f842516be616c.zip |
Merge pull request #30406 from eliotsykes/reduce-spring-watch-calls
Minimize Spring.watch calls
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/spring.rb.tt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/spring.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/spring.rb.tt index 9fa7863f99..db5bf1307a 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/spring.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/spring.rb.tt @@ -1,6 +1,6 @@ -%w[ - .ruby-version - .rbenv-vars - tmp/restart.txt - tmp/caching-dev.txt -].each { |path| Spring.watch(path) } +Spring.watch( + ".ruby-version", + ".rbenv-vars", + "tmp/restart.txt", + "tmp/caching-dev.txt" +) |