I’m in the need to setting up a remove dev environment that has a different domain than the usual localhost. I managed to change the root URL with the ROOT_URL environment variable so I can connect to my dev site but the HMR is still using the ws://localhost:3000/__meteor__hmr__/websocket url. I tried changing the HMR URL with the HMR_URL variable but it has no effect. Is there a way to change HMR URL?
Okay it looks like the issue was with windows. The set command doesn’t work with powershell, so the correct way to start meteor with a custom ROOT_URL is this:
$env:ROOT_URL = 'https://domain-to-use.com'; meteor npm run start