diff options
Diffstat (limited to 'railties/lib/rails/tasks/restart.rake')
-rw-r--r-- | railties/lib/rails/tasks/restart.rake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/tasks/restart.rake b/railties/lib/rails/tasks/restart.rake new file mode 100644 index 0000000000..1e8940b675 --- /dev/null +++ b/railties/lib/rails/tasks/restart.rake @@ -0,0 +1,4 @@ +desc "Restart app by touching tmp/restart.txt" +task :restart do + FileUtils.touch('tmp/restart.txt') +end |