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

Optional screen clearing in watch mode #3213

Closed
chookie opened this issue Mar 27, 2017 · 3 comments
Closed

Optional screen clearing in watch mode #3213

chookie opened this issue Mar 27, 2017 · 3 comments

Comments

@chookie
Copy link

chookie commented Mar 27, 2017

Feature Request

Currently when using --watch the screen is cleared on each run. This is ok when using jest alone but when using as part of a build process where you run linting, tests and buid on each file change then when the tests run you loose your terminal history including results from linting and build. By now I am getting around this by using "nodemon --watch src --ext js --exec 'npm run test'"

Would it be possible to add an option for watch to not clear the screen? Perhaps something like --watch --noclear.

@rogeliog
Copy link
Contributor

rogeliog commented Mar 28, 2017

Hi! Thanks for reporting this 🙂 ... It seems like a duplicate of #2959 right?

@chookie
Copy link
Author

chookie commented Mar 29, 2017

Yes it is. Apologies, I obviously did not look hard enough. Many thanks.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants