aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-02-26 20:27:32 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-02-26 20:27:32 -0300
commit0d37f122fc0b697c25d1c31a5a9c310c4328e034 (patch)
tree46902bf004139607107df5a8cc17f628514aa64f /railties
parent2142064fe18429634f9ba8418b69d1d56781805a (diff)
downloadrails-0d37f122fc0b697c25d1c31a5a9c310c4328e034.tar.gz
rails-0d37f122fc0b697c25d1c31a5a9c310c4328e034.tar.bz2
rails-0d37f122fc0b697c25d1c31a5a9c310c4328e034.zip
:scissors:
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/tasks/dev.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/tasks/dev.rake b/railties/lib/rails/tasks/dev.rake
index 2b5554b9f2..ff2de264ce 100644
--- a/railties/lib/rails/tasks/dev.rake
+++ b/railties/lib/rails/tasks/dev.rake
@@ -2,7 +2,7 @@ namespace :dev do
desc 'Toggle development mode caching on/off'
task :cache do
FileUtils.mkdir_p('tmp')
-
+
if File.exist? 'tmp/caching-dev.txt'
File.delete 'tmp/caching-dev.txt'
puts 'Development mode is no longer being cached.'
@@ -10,7 +10,7 @@ namespace :dev do
FileUtils.touch 'tmp/caching-dev.txt'
puts 'Development mode is now being cached.'
end
-
+
FileUtils.touch 'tmp/restart.txt'
end
end