Skip to content

Commit 7ed09d3

Browse files
committed
Directly start the consistent new bin/dev after setup
1 parent 7f80288 commit 7ed09d3

File tree

1 file changed

+2
-6
lines changed
  • railties/lib/rails/generators/rails/app/templates/bin

1 file changed

+2
-6
lines changed

railties/lib/rails/generators/rails/app/templates/bin/setup.tt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ FileUtils.chdir APP_ROOT do
3838
puts "\n== Removing old logs and tempfiles =="
3939
system! "bin/rails log:clear tmp:clear"
4040

41-
puts "\n== Restarting application server =="
42-
system! "bin/rails restart"
43-
44-
# puts "\n== Configuring puma-dev =="
45-
# system "ln -nfs #{APP_ROOT} ~/.puma-dev/#{APP_NAME}"
46-
# system "curl -Is https://#{APP_NAME}.test/up | head -n 1"
41+
puts "\n== Starting development server =="
42+
exec "bin/dev"
4743
end

0 commit comments

Comments
 (0)