Sha256: abd9b21d1ece74258b6347f96d7f8d6087227d56776847814ceaafc11cf21738

Contents?: true

Size: 171 Bytes

Versions: 20

Compression:

Stored size: 171 Bytes

Contents

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
railties-5.1.7 lib/rails/tasks/restart.rake
railties-5.1.7.rc1 lib/rails/tasks/restart.rake
railties-5.1.6.2 lib/rails/tasks/restart.rake
railties-5.1.6.1 lib/rails/tasks/restart.rake
railties-5.1.6 lib/rails/tasks/restart.rake
railties-5.1.5 lib/rails/tasks/restart.rake
railties-5.1.5.rc1 lib/rails/tasks/restart.rake
railties-5.1.4 lib/rails/tasks/restart.rake
railties-5.1.4.rc1 lib/rails/tasks/restart.rake
railties-5.1.3 lib/rails/tasks/restart.rake
railties-5.1.3.rc3 lib/rails/tasks/restart.rake
railties-5.1.3.rc2 lib/rails/tasks/restart.rake
railties-5.1.3.rc1 lib/rails/tasks/restart.rake
railties-5.1.2 lib/rails/tasks/restart.rake
railties-5.1.2.rc1 lib/rails/tasks/restart.rake
railties-5.1.1 lib/rails/tasks/restart.rake
railties-5.1.0 lib/rails/tasks/restart.rake
railties-5.1.0.rc2 lib/rails/tasks/restart.rake
railties-5.1.0.rc1 lib/rails/tasks/restart.rake
railties-5.1.0.beta1 lib/rails/tasks/restart.rake