acmx
acmx copied to clipboard
Extension throws an error without any apparent reason
I am getting the following error without any reason. It appears randomly and I have to restart vscode to use the extension again.
My guess is that you have multiple instances of vscode open at the same time; but the server listening from companion tasks can only be opened in one of the instances! One thing we could do is check first is the port is in use and don't even try to open it in that case (this should avoid this error).
Not completely related to this issue, but one bad side-effect of the server opening in a single instance is that if that instance is closed; even if there are other active vscode instances open the server is off; and listening tasks from the companion won't work.