Skip to content

Clear console on change #698

Closed
Closed

Description

@ValentinH

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?

Activity

  1. changed the title [-]Clear console on refresh[/-] [+]Clear console on change[/+] on Apr 5, 2018
  2. CompuIves commented on Apr 6, 2018

    @CompuIves
    Contributor

    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!

  3. ValentinH commented on Apr 6, 2018

    @ValentinH
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions