Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solargraph not updating on changes #269

Open
towo opened this issue Sep 5, 2023 · 1 comment
Open

solargraph not updating on changes #269

towo opened this issue Sep 5, 2023 · 1 comment

Comments

@towo
Copy link

towo commented Sep 5, 2023

Hey, I'm not sure if this is a VS code thing or a solargraph issue.

Solargraph works fine when I open a file, but it doesn't seem to rerun the reporters/diagnostics when changing the file. ISTR this working on the fly, but now, even when saving the file, the diagnostics don't update and I need to restart the solargraph server to get updated cop results.

Is this a configuration issue, or could I be running into a bug?

@castwide
Copy link
Owner

castwide commented Dec 5, 2023

In your VS Code settings, solargraph.diagnostics should be set to true. If you have a .solargraph.yml file in your project, make sure it has diagnostics reporters set, e.g.:

reporters:
- rubocop

More information: https://solargraph.org/guides/configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants