-
Notifications
You must be signed in to change notification settings - Fork 6
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 console before reload #21
Comments
Can confirm that works. In that case it would be nice if Bolt clears the console and users can toggle 'Preserve log' to keep it. |
I would rather see change done by UXP team. |
I have a console.clear() early in my code (after loading shims), and it works great. If you need to see something, you can enable that option in the debugger to preserve logs (ignore clear commands). Or just cmd-K or L to clear. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the UXP debug console history is kept after hot reloading, but I find myself clearing it manually after each reload to get a clean slate. Any logged objects lose their reference, so I don't think there's any reason to keep the history.
The text was updated successfully, but these errors were encountered: