Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to --ignore subdirectories in an included --dir #95

Open
Bjvanminnen opened this issue Jan 19, 2016 · 1 comment
Open

unable to --ignore subdirectories in an included --dir #95

Bjvanminnen opened this issue Jan 19, 2016 · 1 comment

Comments

@Bjvanminnen
Copy link
Contributor

I have the following folder structure

├── other
│   ├── otherifle.js
│   └── subdir
│       └── subfile.js
├── rootfile.js
└── src
    └── file.js

If I run the following command, changes to other/subdir/subfile.js are ignored (as expected)
rerun --ignore other/subdir/* echo test

However, if I explicitly include other, the ignore no longer works, and changes to subfile.js cause test to be re-echoed.
rerun --dir other --ignore other/subdir/* echo test

@alexch
Copy link
Owner

alexch commented Jan 24, 2018

You've found a logical flaw in the config options. Basically, when an 'include' conflicts with an 'ignore', which takes priority?

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

No branches or pull requests

2 participants