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

Clear console on change #698

Closed
ValentinH opened this issue Apr 5, 2018 · 2 comments
Closed

Clear console on change #698

ValentinH opened this issue Apr 5, 2018 · 2 comments

Comments

@ValentinH
Copy link
Contributor

ValentinH commented Apr 5, 2018

When using the Console Preview mode, it would be nice to be able to clear it automatically on each code change.

I was thinking about adding a configuration item like clearConsoleOnChange
in the sandbox.config.json file.
Another solution could be to add a toggle directly in the Console view header (both devtools and preview) so it's more obvious to find this feature.

What do you think about this? Can I provide a PR?

@ValentinH ValentinH changed the title Clear console on refresh Clear console on change Apr 5, 2018
@CompuIves
Copy link
Member

Hmmm, I think we have this one in preferences already? In the Preview setting. I think we should enable it by default though, so I'm open for a PR for that!

@ValentinH
Copy link
Contributor Author

You are right, I forgot about these preferences :) I only looked at the sandbox config file.
Let's go for a PR to change this default!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants