Skip to content

Pages functions hot reload #219

@leomp12

Description

@leomp12

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpagesRelating to Pages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions