Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pages functions hot reload #219

Closed
leomp12 opened this issue Jan 8, 2022 · 1 comment · Fixed by #220
Closed

Pages functions hot reload #219

leomp12 opened this issue Jan 8, 2022 · 1 comment · Fixed by #220
Labels
enhancement New feature or request pages Relating to Pages

Comments

@leomp12
Copy link

leomp12 commented Jan 8, 2022

Hey,

Is there a way to configure browser hot reload with wrangler pages dev when functions (eg.: /functions/index.ts) are edited?

I've tried with --live-reload arg and wrangler.toml:

[miniflare]
live_reload = true

Both no success 😐

Testing with Node 16 on Windows.

I'm using miniflare and vite with wrangler pages dev -- npx vite, vite HMR works out of the box (👍🏾 ), problem is just with SSR hot reloads.

@GregBrimble GregBrimble added enhancement New feature or request pages Relating to Pages labels Jan 8, 2022
@GregBrimble
Copy link
Member

GregBrimble commented Jan 8, 2022

Hi,

Unfortunately, live reload is not currently hooked up, but that's a great feature request. Thanks for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pages Relating to Pages
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants