running `ng serve` together with `wrangler pages dev`

I'm running a POC with an Angular frontend (non-SSR) and an API inside the
functions
folders.
The setup is running nicely on CF when deployed.
But I'm now seeking for a good development workflow...

With
wrangler pages dev
I can test my api on port 8787 and it picks up changes to my API in development without restarting.
I would like to integrate the Angular reload capabilities in my development environment as well via, ng serve (that runs on port 4200).

Ideally I would like to run them on the same port.. Maybe proxying client request towards to 8787 to 4200 in wrangler dev?

I wonder how others are doing this.
Btw this is similar for running a React setup using Functions.
Was this page helpful?