Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Auto-restart the LSP on .rubocop.yml config changes #167

Merged
merged 2 commits into from
Jul 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ export default class Client {

private registerAutoRestarts() {
this.createRestartWatcher("Gemfile.lock");
this.createRestartWatcher("**/.rubocop.yml");

// If a configuration that affects the Ruby LSP has changed, update the client options using the latest
// configuration and restart the server
Expand Down