d-language-server / dls

A Language Server implementation for D
http://dls.dub.pm
106 stars 14 forks source link

Reload dscanner config when dls config is updated. #42

Closed krendil closed 5 years ago

krendil commented 5 years ago

Simple fix for issue #41 May be too simple. It might be good to check if the new value is different from the old value, but I wasn't how to do that, as it doesn't seem to store the old value as-is.

LaurentTreguier commented 5 years ago

Thanks for pointing this out ! This could have worked well enough, but as you suggested, checking for the name is better and avoids scanning all files from all workspaces every time the configuration is changed; so I addressed this in ca915813bad03362719e185e1ba9a5d405f84e81