Is there a way to set a static port for a Capacitor project?

I’m continually switching between my Server API project and Client project (Electron, mobile, and web testing). I have to set the client address in CORS on the server and semi-frequently Wappler shuts down and restarts the client project causing it to run on a new port. Is there a way to define the port for the Client project so this isn’t a constant issue I have to correct?

Community Page
Last updated: