quaint-telephone-89068
12/21/2022, 9:30 PM./pants tailor <path-to-removed-file> or ./pants tailor --changed-since=<branch-with-removed-file>, the BUILD file is not regenerated even if there are still unmapped targets in that directory.
Pants version
2.14.0
OS
Both MacOS / Linux
Additional info
How to reproduce
• Minimal example branch: https://github.com/njgrisafi/pants-example/tree/example-tailor-issue
• Run ./pants --changed-since=origin/main tailor
2022-12-21_12-07-46 (1)▾
./pants tailor path/to/BUILD should do the same thing as ./pants tailor path/to, as suggested here: https://pantsbuild.slack.com/archives/C046T6T9U/p1671657222508319?thread_ts=1671466159.915039&cid=C046T6T9U
pantsbuild/pants