-
Notifications
You must be signed in to change notification settings - Fork 131
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
--clear-screen --watch
slowely scrolls down after each rebuild
#465
Comments
I briefly looked into this and it seem it should be easy to fix. Just change this line like this: - when (shouldClear == DoClear) $ liftIO clearScreen
+ when (shouldClear == DoClear) $ liftIO $ do
+ clearScreen
+ setCursorPosition 0 0 Tried this locally and it seems to work fine, but it only clears the screen on rebuild (after you change the file), not on the initial build. Would the expected behavior be to also clear the screen on the initial run of the command? |
Thanks for looking into it. It works as expected. :-) I do not think the first build should trigger clearing the screen, so it seems to me it is working correctly. Will you make a PR? |
Sure, I will |
A question related to |
When using this cmd (with
build
orbundle-app
, and both directly or viayarn
)The screen on the first run:
The screen on the second run:
Next builds simply show below the previous one and so on.
The text was updated successfully, but these errors were encountered: