aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/restart.rake
blob: f36c86d81b56f4fb1871acee6823ca1bd062d3a9 (plain) (blame)
1
2
3
4
5
desc "Restart app by touching tmp/restart.txt"
task :restart do
  FileUtils.mkdir_p('tmp')
  FileUtils.touch('tmp/restart.txt')
end