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
Cannot get 'clear' command to run #160
Comments
Sure, that looks fine. Can we have platform, terminal emulator info, and a verbose log please? |
Sure thing. Platform is WSL2 Alpine The 'clear' command works, and I could swear I had the clear flag working with cargo watch at some point.
|
Can you run "tput clear" ? That's what we use internally on unix to clear the screen.Also what actual program are you using as terminal, not just what it reports as $TERM, please.
|
tput clear works fine. the terminal is the default WSL2 terminal |
I was mistaken, what we actually run is |
Ok so I'm experimenting with other platforms. This is openbsd, running on a virtual machine, ssh'd with windows terminal. cargo watch was compiled on the openBSD virtual machine, so I imagine it picks up the right platform. Then I thought "well maybe it's windows terminal fault", so here's the raw output from virtualbox. So now I'm thinking maybe I'm confused - I expected "--clear" to just show one result of checking/running tests, not append multiple. Or do I have that wrong? Anyway happy to try on a more 'normal' OS on virtualbox, if you have one you know that works. |
Closing in favour of upstream issue: watchexec/watchexec#185. |
Sanity check - this is a perfectly normal command to run, right?
cargo watch -c -x test --poll
This just appends each output to the end of the previous output, no screen clearing, on my machine. Am I misunderstanding what 'clear' does?
The text was updated successfully, but these errors were encountered: