Using globs for directory
is slow
#12
Comments
@freshollie Sorry I didn't notice this issue previous, I'll take a look ASAP. |
@teoxoy Would you like to help with this? |
Having said that, the example glob can be optimized like this: @freshollie can you test the proposed glob and see if it's faster? If it is, we should update the readme. |
@teoxoy Should directory matched in |
Using it in our case, will make things slower and with no real benefits since As I said above, the issue was that I used a globstar instead of a star for the example. |
@freshollie v0.4.0 has been released. |
@freshollie Yep, we've changed |
The recommended config for multiple directories is very slow (
./packages/**/tsconfig.json
)This is probably due to the library walking the
node_modules
directories? Would it be possible to ignore thenode_modules
folders?For now, I recommend explicit levels in the directories glob, which is much faster.
The text was updated successfully, but these errors were encountered: