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
using rollup --watch, I can't scroll up #2252
Comments
Same issue here, would be great to fix this :) |
Me either 😢 |
This change also overwrite the console output when used with npm-run-all. |
any news on this? 😬 |
@luisrudge have you tried adding the following to your config? watch: {
clearScreen: false
}, |
@shellscape that works as a workaround, thanks! I still prefer when the screen is cleared, but I can live with this. |
The documentation can probably be clearer on this. What @guybedford @lukastaegert is there an opportunity here for a documentation change? is |
Not 100% sure what a better name would be but we could certainly do a soft deprecation/option rename with the 1.0 release. I guess |
How is this not considered a bug? For example, jest seems to also use an alternate screen during watch mode, but you can scroll up just fine when the content overflows that particular screen. Is this same behavior not accomplishable for rollup watch mode? Setting Perhaps I am just missing something and/or need further explanation. (Re-commented with @'s as I don't think this was going to be seen since the issue's closed.) |
Yes, this should be improved |
Note though that at least for my tests, Jest is NOT using an alternate screen (when you quit Jest, you still see the last output). |
After playing around a little more and googling a bit I feel we should just get rid of the alternate screen altogether as its utility is rather limited and just do the clear screen between runs (as Jest does), which will still allow scrolling. |
Please check out #2942. Would be very nice if people could check this against various terminals to see if it behaves as expected. My guess is that the alternate screen was one of those "it seemed like a good idea at that time" things. If nobody cries out, I will merge this soon. |
Issue demonstrated here:
The text was updated successfully, but these errors were encountered: