#cloudflare preview and live reload [resolved]

4 messages · Page 1 of 1 (latest)

night oar
#

has anyone figured out how to make cloudflare live preview work locally. I'm used to doing npm run dev which is just astro dev but that won't work with the ssr adapter.

I'm trying to avoid a scenario where I'd have to setup some complex watch logic to build and run wrangler pages dev every time using nodemon or the likes. if you know anything that's built-in that I'm overlooking please let me know : )

#

I'll update this if I find anything but ping me if you do pOg

night oar
#

update looked back and found another issue that used:
wrangler pages dev -- astro dev

#

this seems to work fine