Not completely sure of the "flow" but from my understanding: it will try to use existing flow server or launching a new flow server if not available. If it launches a new flow server, it will kill it upon exiting. My issue is that I have flow server running and when flow-language-server is launched (via LanguageClient-neovim), it doesn't appear to use the existing flow server and launches a new one or something and so when I exit neovim, it will kill the flow server.
Now when I want to use flow (or relaunch neovim), it will take a long long time for flow server to start up again.
How can I figure out what's wrong here? Also is there an option to not kill the server upon exiting? (I see this flag exists in the code but not sure how I can access it).
Here's some logs that I can see:
[Log] [2017-09-24 01:42:55.367] [INFO] flow-versions - Determining the version of flow for your project...
[Log] [2017-09-24 01:42:55.386] [INFO] flow-versions - Found flow version requirement ^0.54.0 in your .flowconfig
[Log] [2017-09-24 01:42:55.387] [INFO] flow-versions - Looking for a version of flow matching ^0.54.0...
[Log] [2017-09-24 01:42:55.454] [INFO] flow-versions - Using the system flow at /usr/local/bin/flow.
[Log] [2017-09-24 01:42:55.460] [INFO] nuclide-flow-rpc - [unknown]: Flow server in /data/users/jeffyan/www-hg
[Info] Flow status: unknown
[Log] [2017-09-24 01:42:55.462] [INFO] Diagnostics - Beginning to observe diagnostics
[Log] [2017-09-24 01:42:55.467] [INFO] nuclide-flow-rpc - Creating Flow IDE connection stream
[Log] [2017-09-24 01:42:55.468] [INFO] nuclide-flow-rpc - Got a subscriber for the Flow IDE connection stream
[Log] [2017-09-24 01:42:55.469] [INFO] nuclide-flow-rpc - Attempting to start IDE connection...
[Log] [2017-09-24 01:42:55.477] [INFO] index - Flow language server started
[Log] [2017-09-24 01:42:57.157] [INFO] nuclide-flow-rpc - [ready]: Flow server in /data/users/jeffyan/www-hg
[Info] Flow status: ready
[Log] [2017-09-24 01:42:57.178] [INFO] nuclide-flow-rpc - Flow IDE process stderr: received subscribe request
[Log] [2017-09-24 01:42:59.034] [INFO] nuclide-flow-rpc - Flow IDE process stderr: sent diagnostics notification
Not completely sure of the "flow" but from my understanding: it will try to use existing flow server or launching a new flow server if not available. If it launches a new flow server, it will kill it upon exiting. My issue is that I have flow server running and when flow-language-server is launched (via LanguageClient-neovim), it doesn't appear to use the existing flow server and launches a new one or something and so when I exit neovim, it will kill the flow server.
Now when I want to use flow (or relaunch neovim), it will take a long long time for flow server to start up again.
How can I figure out what's wrong here? Also is there an option to not kill the server upon exiting? (I see this flag exists in the code but not sure how I can access it).
Here's some logs that I can see: