You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disabled the builting plugin TypeScript and JavaScript Language Features
./index.js
// @flow
const n = 5;
const f = (n: string) => n + 1
console.log(f(n));
Testing
I tested the above file by removing an adding the type to the function parameter. When adding the type it, the error would not appear until I saved. When removing it would not remove it until I saved.
I tried this with the bundled flow.
[Error - 11:15:12 AM - vscode-test\.flowconfig] Error loading flow using option 'useNPMPackagedFlow'
Pkg flow-bin not found in c:\Users\rpcan\project\vscode-test
[Error - 11:15:12 AM - vscode-test\.flowconfig] Error loading flow using option 'pathToFlow'
'flow' not found
[Info - 11:15:12 AM - vscode-test\.flowconfig] Falling back to bundled flow.
[Info - 11:15:12 AM - vscode-test\.flowconfig] Using flow 'C:\Users\rpcan\.vscode\extensions\flowtype.flow-for-vscode-1.5.0\node_modules\flow-bin\flow-win64-v0.107.0\flow.exe' (v0.107.0)
Launching Flow server for C:\Users\rpcan\project\vscode-test
Spawned flow server (pid=33612)
Logs will go to C:\Users\rpcan\AppData\Local\Temp\flow\CzCzBUserszBrpcanzBprojectzBvscode-test.log
Monitor logs will go to C:\Users\rpcan\AppData\Local\Temp\flow\CzCzBUserszBrpcanzBprojectzBvscode-test.monitor_log
[Info - 11:15:13 AM] Starting Flow server
And with flow-bin
> npm install -D flow-bin
and the output
[Info - 1:18:24 PM - vscode-test\.flowconfig] Found flow using option `useNPMPackagedFlow`
[Info - 1:18:24 PM - vscode-test\.flowconfig] Using flow 'c:\Users\rpcan\project\vscode-test\node_modules\flow-bin\flow-win64-v0.114.0\flow.exe' (v0.114.0)
Launching Flow server for C:\Users\rpcan\project\vscode-test
Spawned flow server (pid=8332)
Logs will go to C:\Users\rpcan\AppData\Local\Temp\flow\CzCzBUserszBrpcanzBprojectzBvscode-test.log
Monitor logs will go to C:\Users\rpcan\AppData\Local\Temp\flow\CzCzBUserszBrpcanzBprojectzBvscode-test.monitor_log
[Info - 1:18:26 PM] Starting Flow server
Given the simplicity of this example I feel like there is a strong possibility I must be doing something wrong, but I can't figure out what.
The text was updated successfully, but these errors were encountered:
I have been still trying to get this to work and tried a couple things:
unchecking useLSP in the extension settings, reloading the client, and checking it again gets it to work briefly but ends up with the "Server is busy" message eventually.
tried removing the extension and restarting and then reinstalling, but didn't have any effect
Problem
Flow errors do not update on edit (in Windows?)
Configuration
Flow Language Support Version: 1.5.0 (2019-09-09)
VSCode About
Example
Disabled the builting plugin
TypeScript and JavaScript Language Features
./index.js
Testing
I tested the above file by removing an adding the type to the function parameter. When adding the type it, the error would not appear until I saved. When removing it would not remove it until I saved.
I tried this with the bundled flow.
And with
flow-bin
and the output
Given the simplicity of this example I feel like there is a strong possibility I must be doing something wrong, but I can't figure out what.
The text was updated successfully, but these errors were encountered: