scalacenter / bloop

Bloop is a build server and CLI tool to compile, test and run Scala fast from any editor or build tool.
https://scalacenter.github.io/bloop/
Apache License 2.0
909 stars 201 forks source link

Bloop should delete domain socket files used for BSP communication #1578

Open alexarchambault opened 3 years ago

alexarchambault commented 3 years ago

When opening a BSP connection with Bloop via bloop bsp --protocol local --socket /path/to/socket, Bloop doesn't delete the socket file when it stops listening on it.

Even though its path is provided by clients, the socket file itself is created by Bloop. So I assume it should be deleted by Bloop itself, when it stops listening on it.

tgodzik commented 3 years ago

Thanks for reporting! I will need to take a look at it later this month.