Skip to content

Conversation

@GregBrimble
Copy link
Contributor

Fixes #219

Adds a --live-reload option to wrangler pages dev which automatically reloads HTML pages when a change is detected

@GregBrimble GregBrimble added the pages Relating to Pages label Jan 8, 2022
@changeset-bot
Copy link

changeset-bot bot commented Jan 8, 2022

🦋 Changeset detected

Latest commit: def7afb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
wrangler Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@GregBrimble GregBrimble merged commit 6fc2276 into main Jan 8, 2022
@GregBrimble GregBrimble deleted the live-reload-pages-dev branch January 8, 2022 11:20
@github-actions github-actions bot mentioned this pull request Jan 8, 2022
@tunnckoCore
Copy link

tunnckoCore commented Mar 1, 2023

Hey there.

Still not working?

A wrangeler@^2.12, just the basic stuff.
A directory with a html file request something on ./functions api routes.

It doesn't work, neither on wrangler dev --live-reload nor on wrangeler pages dev --live-reload ./public.

@jadbox
Copy link

jadbox commented Sep 8, 2023

I can't get it to work either.
"hono": "^3.5.4" "wrangler": "^3.6.0"

"scripts": {
    "dev": "wrangler pages dev --live-reload ./pages"
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pages Relating to Pages

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

Pages functions hot reload

4 participants