Skip to content

Commit

Permalink
Show progress when reloading the Rails application
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock committed Jan 28, 2025
1 parent fe92358 commit 961dce2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/ruby_lsp/ruby_lsp_rails/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,9 @@ def execute(request, params)
end
when "reload"
with_notification_error_handling(request) do
::Rails.application.reloader.reload!
with_progress("rails-reload", "Reloading Rails application") do |progress|
::Rails.application.reloader.reload!
end
end
when "route_location"
with_request_error_handling(request) do
Expand Down

0 comments on commit 961dce2

Please sign in to comment.