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

In the default interactive reporter logs should be collected and shown next to their migration #18

Open
joakimbeng opened this issue Nov 22, 2023 · 0 comments

Comments

@joakimbeng
Copy link
Member

In an interactive CLI (e.g. TTY) we use animations and re-render the console output all the time. If something else is written to stdout it will not show up if it's only one line and instead it will make the content jump.

To avoid this the global console instance should temporarily be replaced with a custom Console instance (similar to how Vite does it) to collect logs and render them next to the migration that caused the logs to be written.

@joakimbeng joakimbeng converted this from a draft issue Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant