Skip to content

🐛 BUG: wrangler pages dev --live-reload does not watch static assets #5351

@malobre

Description

@malobre

Which Cloudflare product(s) does this pertain to?

Wrangler core, Miniflare

What version(s) of the tool(s) are you using?

[email protected], [email protected]

What version of Node are you using?

21.7.0

What operating system and version are you using?

Linux 6.8.1 (arch linux)

Describe the Bug

Observed behavior

Editing a file served by the pages dev server does not trigger a page reload.

Expected behavior

Page reload on file update.

Steps to reproduce

  • create a file (in my case a simple index.html)
  • start pages dev server wrangler pages dev --live-reload [directory]
  • edit the file

misc

There are comments on the original PR adding the live reload feature mentioning that users are unable to get it to work: #220

Potentially related to #4124 ?

Please provide a link to a minimal reproduction

No response

Please provide any relevant error logs

No errors in browser console or wrangler logs

Metadata

Metadata

Labels

enhancementNew feature or requestpagesRelating to Pages

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions