-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Commands Fail Silently If Another Process Already Bound to Server Port #91
Comments
It is indeed an issue but not sure what can be done about it. On every If you have any suggestions please share. |
Some possibilities are
|
Thank you for the suggestions.
This may be tricky because some SFDC API requests (e.g. deployments) take long time to respond so server would have to be modified to provide some redundant feedback just to signal that it is still working. Will probably require to modify every single command on the server side, not sure I want to go there.
This probably is the most robust option, but I am not sure it is worth the effort. After all - there is a config variable
This already exists. On second thought - we could potentially introduce a timeout for |
If another process is already bound to
g:apex_server_port
and it doesn't respond to commands, they fail silently waiting for a response. For example, using the default port of 8888, start up netcat listening on the port:nc -l 8888
Then start vim and use
:ApexDeployOpen
. vim-force.com sends the command to netcat, and never displays an error.The text was updated successfully, but these errors were encountered: