-
-
Notifications
You must be signed in to change notification settings - Fork 646
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
cached build files failing to update #17986
Comments
I've realized the issue occurs whether |
Pants does not work on Windows generally, it only works when run completely from a WSL vm. The repo must reside inside the VM and not be accessed via |
Yes this describes my problem, the bash is navigated through This is surprising. Should the Getting Started docs be updated with a disclaimer to avoid confusion around this? They imply pants should work in general through either WSL bash or power shell via the WSL command. |
Probably, yes. Are you willing to take a crack at that doc update?: https://github.com/pantsbuild/pants/blob/main/docs/markdown/Getting%20Started/getting-started/prerequisites.md |
Sure, I'll take a look tonight. Thanks for the help! |
Hmm, do you prefer I use the "suggest edits" feature on the website directly or go through github? |
GitHub please. |
A short disclaimer was added to inform new Windows users that their projects must live within the Linux virtual machine for Pants to work correctly. Feedback welcome! In particular, I want to confirm that using the `wsl` prefix in a Windows shell has the same limitations. I will check myself in a few days if no one knows already. Related to discussion in #17986.
Describe the bug
BUILD files are cached and not updated for subsequent runs of
./pants tailor ::
even after edits have been made.Pants version
2.14.0
OS
Linux (using WSL on windows machine)
Additional info
Steps in case above is unclear,
my_error
./pants tailor ::
(will cause error)Name 'my_error' is not defined.
./pants tailor ::
(same error message, expected no error)pants.backend.build_files.fmt.black
) and rerun./pants tailor ::
(now succeeds)The text was updated successfully, but these errors were encountered: