aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/restart.rake
blob: 3f98cbe51f81bd1f86cf531fc30f492018de00f9 (plain) (blame)
1
2
3
4
5
6
7
8
desc 'Restart app by touching tmp/restart.txt'
task :restart do
  verbose(false) do
    mkdir_p 'tmp'
    touch 'tmp/restart.txt'
    rm_f 'tmp/pids/server.pid'
  end
end