Hello,
IDX is not getting the port that it is set to. It is probably my fault, but there is no guide on setting up live preview.
What are the steps taked to get it working?
My config was modified like this:
And the Output looks like this:
Hello,
IDX is not getting the port that it is set to. It is probably my fault, but there is no guide on setting up live preview.
What are the steps taked to get it working?
My config was modified like this:
And the Output looks like this:
if I’m not mistaken, the web preview is expecting another port (probably 9000) and that is why it keeps loading infinitely.
Try to command = ["npm" "run" "dev" "--" "--port" "$PORT" "--host" "0.0.0.0"];
. The PORT
in command overrides the PORT
that you defined in the environment.
Thank you very much! This worked. ˋ–host 0.0.0.0ˋ or the two extra ˋ–ˋ were the last step to get it to work since i already tried the --port.
Thankyou so much @alice