tfausak / purple-yolk

:hatching_chick: A Haskell IDE for Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=taylorfausak.purple-yolk
MIT License
26 stars 2 forks source link

Status bar item stops updating after restarting #12

Closed tfausak closed 4 years ago

tfausak commented 4 years ago

The fixes for #2 and #3 aren't playing nicely together. If you run the "Purple Yolk: Restart" command, the status bar item gets stuck saying "Purple Yolk: Running :quit ...". I think this happens because the restart command effectively crashes the server, which causes VSCode to kill the client. I'll bet that since the client doesn't tear down the status bar item, VSCode prevents a new instance of the client from creating another item.