diff options
author | Eliot Sykes <eliotsykes@gmail.com> | 2017-08-25 16:30:33 +0100 |
---|---|---|
committer | Eliot Sykes <eliotsykes@gmail.com> | 2017-08-25 16:33:59 +0100 |
commit | 272df8fcedcb8ff6b36b3e8953d17f552e1fc624 (patch) | |
tree | 3c90ea610c40a785068fa3bd8732b535b0d738b7 /railties | |
parent | 14c1a9c5e3471decee9ad09b91024a4293f1b2c2 (diff) | |
download | rails-272df8fcedcb8ff6b36b3e8953d17f552e1fc624.tar.gz rails-272df8fcedcb8ff6b36b3e8953d17f552e1fc624.tar.bz2 rails-272df8fcedcb8ff6b36b3e8953d17f552e1fc624.zip |
Minimize Spring.watch calls
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/spring.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/spring.rb b/railties/lib/rails/generators/rails/app/templates/config/spring.rb index 9fa7863f99..db5bf1307a 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/spring.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/spring.rb @@ -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" +) |