Skip to content

DX improvements to workflow - Hotkeys and toggling behavior #5740

@NathanWalker

Description

@NathanWalker

Is your feature request related to a problem? Please describe.

Right now, when using the CLI you are forced into several flows (no hmr, or hmr enabled and auto live watch mode or not) - To reset one would need to stop and start dev command again.

Instead would be nice if the CLI was interactive for debugging purposes to improve workflow.

Describe the solution you'd like

Hotkeys for the following:

  • Toggle live watch mode - sometimes want to make bunch of changes without fear app would auto reload and even potentially crash if still developing something while saving (intentionally or accidentally)
  • Toggle hmr/nohmr if possible
  • Explicit reload/relaunch of app (like hitting browser refresh for web app)
  • Hotkey to open chrome devtools
  • Toggle various Trace logging with prompt for categories from {N} core - useful to see different output when needed
  • Potentially hotkeys to filter terminal output based on needs

Describe alternatives you've considered

No response

Anything else?

No response

Please accept these terms

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-pending-triageA new feature request pending triage to confirm validity.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions