Skip to content

Improve live-reload logic for static files #3644

@bep

Description

@bep

See

if len(staticEvents) > 0 {

One thing is that the comment here does not match the implementations. Not much practical impact, but there are room for improvements here:

  1. Filter duplicate paths
  2. Do hard refresh if > 1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions