Skip to content

How do I allow specific subdirectory from an ignored directory? #546

Answered by nizamiza
nizamiza asked this question in Q&A
Discussion options

You must be logged in to vote

So the example config I showed was the global one. I mananged to make this work by using absolute paths in my project config:

[[workspace]]
C:/Users/niza/Projects/MyProject

[ignore]
C:/Users/niza/Projects/MyProject/node_modules/**

[allow]
C:/Users/niza/Projects/MyProject/node_modules/the-package-i-want-to-be-able-to-see-in-search-results

This is sort of ok, but ideally, it would be great if the global config version with relative paths would work as well,

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nizamiza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant