Skip to content

Refresh window on files change #1542

Description

@prbxr

When using preact watch of preact-cli 3.0.4, ubuntu, chrome latest
All the time I have used preact-cli in the past half year, on file change, the window will refresh only when the browser gets into view. It happens most of the time.
I am used to different flow - to save the file in the editor and by the time I switch to the browser, it will be refreshed because it started to refresh on file save.
Is it some webpack flag ?
Apparently it senses browser visibility event and only on this event triggers refresh.

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