-
Notifications
You must be signed in to change notification settings - Fork 52
FlowMake performs typecheck for whole project #36
Comments
Same is happening for me, both on save and |
I think there really needs to be an option to only check the current file. |
I've been looking into this. I think there's a bug in the flow#typecheck function.
needs a space after However, I think the bigger issue is that this needs to use
That generates only errors for the current file, but it apparently doesn't generate the desired output for populating the quickfix window. I verified that "flow check-content" doesn't generate the same kind of error output as plain "flow". Pretty sure this is the issue with my attempted solution above. Not sure what I can do about that. |
Can we get some feedback from committers as to whether this is something that should be fixed? If it's desired to fix this, but nobody has time right now, I might be willing to submit a pull request. |
im not a committer, just want to let you know that theres a flow linter for https://github.com/w0rp/ale vim plugin, and it shows warnings for only current buffer. |
I have the same question, is there any option to check the current buffer only? |
+1 to this |
The documentation for
FlowMake
says:Running this command shows failed type checks for all files in the repo. Looking at the source it appears this is the expected behavior? If so, the documentation should say something like 'Triggers a type check for all annotated files.'
The text was updated successfully, but these errors were encountered: