By playing with https://pypi.org/project/basedpyright/ LS (cc @DetachHead), I have noticed that notification 'workspace/didChangeWatchedFiles' are never sent.
It is because there are 2 registrations and one unregsitration at the end:
The last unregisterCapability invalidate all file system watcher list although it should just remove the first by using id 9b9d4fd7-61c0-4c11-b9fd-3a06610060e9
By playing with https://pypi.org/project/basedpyright/ LS (cc @DetachHead), I have noticed that notification 'workspace/didChangeWatchedFiles' are never sent.
It is because there are 2 registrations and one unregsitration at the end:
The last unregisterCapability invalidate all file system watcher list although it should just remove the first by using id 9b9d4fd7-61c0-4c11-b9fd-3a06610060e9