Skip to content
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

Option to clear only on restart, not on first run #224

Open
mitranim opened this issue Nov 12, 2021 · 2 comments
Open

Option to clear only on restart, not on first run #224

mitranim opened this issue Nov 12, 2021 · 2 comments
Labels
improvement Making an existing feature better, rather than a new one

Comments

@mitranim
Copy link

Motive:

  • make watch → concurrent a_watch and b_watch.
  • Each task has -c to clear on restart.
  • Each task runs immediately.
  • a_watch fails and prints debug output.
  • b_watch clears the terminal, suppressing the initial debug output from a_watch.
  • The failure is hidden.
@passcod
Copy link
Member

passcod commented Nov 12, 2021

This is technically possible in the library 2.0 as of now; whether it makes sense to add a cli option for it is another story.

@passcod passcod added blocked-on:async improvement Making an existing feature better, rather than a new one labels Nov 12, 2021
@mitranim
Copy link
Author

Perhaps it should be the default behavior for -c? In build systems that run many watchers simultaneously, clearing the terminal on launch is hazardous.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Making an existing feature better, rather than a new one
Projects
None yet
Development

No branches or pull requests

2 participants