I have several needle projects open at once and want each of them to use a different port number. They are all using the Vite template and I have changed the port number in the vite.config.js to point at port 3001 instead of 3000.
When I click “Start Server” it launches a shell and VITE runs the server reporting the correct port number (3001), but the browser launches with port 3000 which doesn’t work. Changing the browser lurl to port 3001 opens the correct instance.
Is there somewhere i can change the port that’s being launched or is this a bug/feature needed in the tools?
I looked in the Needle Unity settings to see if the port was settable there. If this is a new feautre, it would make sense for the port setting to be in there.
I haven’t tested with multiple needle projects but when I have accidentally been using the default needle port it just fails to start the server, nothing already running stops.
I’m not sure if it stops them. It probably does, but that is not what I want. I want multiple unity projects open, and i want to run a server on each. I want to compare one server with another.
I think it does stop the other server but that is one of the reasons i want to run a different unity project on a different port. I don’t want working on one project to stop the other project.