expert-lsp / expert-lsp/expert

State becomes stale after minor modifications, requiring frequent manual restarts

Open
#694 21 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
Elixir
Stars
2.1k
Forks
113
Avg merge
1d 10h
Merged PRs (30d)
26

Description

### Environment
- **Editor:** Zed
- **Editor Version:** Zed v1.3.5 (2026-05-20)
- **OS:** macOS (arm)
- **Language Server:** Expert
- **Elixir & OTP Version:** Elixir 1.19.5-otp-28, OTP 28

### Steps to reproduce
1. Open an Elixir project in Zed.
2. Introduce a minor code change or fix an existing compile error/warning.
3. Save the file.
4. Observe that the editor diagnostics (errors/warnings) do not update, or display inline errors on lines that are now correct or blank.
5. Execute `editor: restart language server`. The diagnostics instantly clear and reflect the true state of the code.

### Expected behavior
The LSP should automatically recompile or track project changes incrementally on save, updating the diagnostics dynamically without requiring manual server restarts.

### Actual behavior
Diagnostics become completely detached from the current file state after a few minor edits, leaving the editor in a stale state.

https://github.com/zed-extensions/elixir/issues/132#issuecomment-4511606765

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.