tweag / nickel

Better configuration for less
https://nickel-lang.org/
MIT License
2.23k stars 85 forks source link

Update dependencies in the background evaluator #1948

Closed jneem closed 3 weeks ago

jneem commented 3 weeks ago

The background evaluator needs to track dependencies separately, because it doesn't share file ids with the main cache. This updates the background dependencies when the foreground ones get updated.

This fixes an unreported bug that I noticed while testing #1944, where eval diagnostics would flash on and off when opening an import of an already-opened file.