hi all, Im trying to run a plasmic project on my linux server with yarn react-scripts start
but I need to run on a different port that 3000. How do I do that?
I tried set PORT=3005 && yarn react-scripts start
but I still get a notice that something is already running on port 3000. I want to autostart this process with pm2
which can’t answer interactive questions. Any way to configure the port?
never mind, just found the answer PORT=3005 yarn react-scripts start
for me… (or npm run start for others) so no &&
and no SET
needed