Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Live Reload

Enables automatic browser refreshing in Miniflare by setting the liveReload property to true, which injects necessary tags into text/html responses.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Live Reload

Enables automatic browser refreshing in Miniflare by setting the liveReload property to true, which injects necessary tags into text/html responses.

When To Use

Use when you want to automate browser refreshes during local development whenever your Worker script is modified.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-testing-miniflare-live-reload-workflow-guide.mdA guide explaining how to enable automatic browser refreshes in Miniflare by setting the liveReload option to true.Questions about a guide explaining how to enable automatic browser refreshes in Miniflare by setting the liveReload option to true.
examples/workers-testing-miniflare-live-reload-cloudflare-workers-miniflare-live-.textA JavaScript code snippet demonstrating how to enable the live reload feature within a Miniflare instance configuration.Exact payloads, commands, or snippets shown in A JavaScript code snippet demonstrating how to enable the live reload feature within a Miniflare instance configuration.
examples/workers-testing-miniflare-live-reload-cloudflare-workers-miniflare-live--2.textA text-based example demonstrating a basic Cloudflare Worker script designed to test live reload functionality using Miniflare.Exact payloads, commands, or snippets shown in A text-based example demonstrating a basic Cloudflare Worker script designed to test live reload functionality using...

What This Skill Covers

  • Miniflare automatically refreshes your browser when your Worker script changes when liveReload is set to true.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/testing/miniflare/developing/live-reload/index.md