Skip to content

Conversation

@novemberborn
Copy link
Member

flow check is easily taking 30 seconds on my development machine, presumably it's checking too many files. Move the .flowconfig into the flow-types test directory and only include the index.js.flow file to improve check speed.

I've verified it still catches type errors by reverting the notThrows fix from #1230.

@leebyron does my analysis make sense? Given how the ignore expressions work I don't think there's any other way of restricting flow check to just the three .js.flow files we currently have.

`flow check` is easily taking 30 seconds on my development machine,
presumably it's checking too many files. Move the .flowconfig into
the flow-types test directory and only include the index.js.flow file
to improve check speed.
@sindresorhus sindresorhus merged commit 7cba283 into master Feb 18, 2017
@sindresorhus sindresorhus deleted the faster-flow-check branch February 18, 2017 09:28
@sindresorhus
Copy link
Member

Let's merge this now. The slowness is painful. We can improve it further if @leebyron has any additional suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants