Replies: 1 comment
-
There is workaround - Wrangler can watch and trigger rebuild: But it is very slow to rebuild whole project even if one file has changed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am ofter surprised that something what worked locally is broken when deployed to the Cloudflare Pages/Worker. I understand that Node and Worker are different and it is impossible to unenv everything, but it could help if dev server will work the same like the worker environment.
Is it possible to configure devserver (
nuxi dev
) to watch, compile with cloudflare_pages preset and run with Wrangler?I used to manually build and run Wrangler when found some issues on the Cloudflare, but it is not so convenient like having it in a devserver.
Btw, this could be interesting also for users of Vercel and Netlify.
Beta Was this translation helpful? Give feedback.
All reactions