<#17868 `./pants tailor path/to/BUILD` does not ge...
# github-notifications
q
#17868 `./pants tailor path/to/BUILD` does not generate BUILD file Issue created by atticus-rippling Describe the bug After removing a BUILD file and running
./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)

Possible fix •
./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&amp;cid=C046T6T9U pantsbuild/pants