aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/restart.rake
blob: 074e3e89a122e09f6b62d40c4e3d3d17991bfcf2 (plain) (blame)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

desc "Restart app by touching tmp/restart.txt"
task :restart do
  verbose(false) do
    mkdir_p "tmp"
    touch "tmp/restart.txt"
  end
end