aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/tasks/restart.rake
blob: 03177d9954276aedcaf27fb75b3a043f177ee7c8 (plain) (tree)
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