I know not an ideal solution but when using functions I let wrangler do its thing to run the functio
I know not an ideal solution but when using functions I let wrangler do its thing to run the function with the ./dist but I also run a the vite server for my frontend on its own. And access the :5173 instead of the :87xx by wrangler.
This way when using the functions it uses the wrangler's endpoint to get the data but otherwise I take advantage of Vite's HMR for the frontend.
I am not sure how this will work for other CF services run through wrangler.
This way when using the functions it uses the wrangler's endpoint to get the data but otherwise I take advantage of Vite's HMR for the frontend.
I am not sure how this will work for other CF services run through wrangler.
