This commit is contained in:
parent
2142064fe1
commit
0d37f122fc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue