Skip to content

Hot reload on save, only if the current file had changes. #3995

@p4-k4

Description

@p4-k4

Hey there, as the title states - It would be nice to have the option to only hot reload on save; when the current file had changes and was indeed saved.

The problem is 1. An unnecessary hot reload is triggered and 2. the debug console is polluted in hot reload logging.

What happens currently is that even though a files changes have been saved (the file does not required another save), if we (for whatever reason) save again it will trigger an unnecessary hot reload.

Admiringly, I have a habit of saving incrementally - Vim/Evil users will understand, I'm sure I'm not the only one.

I did try to check to see if such an option exists, but it appears not? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    in commandsRelates to commands (usually invoked from the command Palette)in editorRelates to code editing or language featuresis enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions