Closed Arthurm1 closed 5 months ago
There's no alive check in BSP so the client can repeatedly check that the server is still up and running.
alive
Metals uses buildTarget/compile for this with an empty list of targets but this causes a complete refresh of all the source sets.
buildTarget/compile
So this adds a guard so no refresh is done if the list of targets is empty.
Thank you @Arthurm1 for your contribution!
There's no
alive
check in BSP so the client can repeatedly check that the server is still up and running.Metals uses
buildTarget/compile
for this with an empty list of targets but this causes a complete refresh of all the source sets.So this adds a guard so no refresh is done if the list of targets is empty.