rerun
rerun copied to clipboard
unable to --ignore subdirectories in an included --dir
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
You've found a logical flaw in the config options. Basically, when an 'include' conflicts with an 'ignore', which takes priority?