'BigCommerce's Stencil CLI and port selection
When running stencil start you'll get some information such as
-------------------------------------------------
[Browsersync] Proxying: http://localhost:3001
[Browsersync] Access URLs:
---------------------------------------
Local: http://localhost:3000
External: http://147.182.158.57:3000
---------------------------------------
UI: http://localhost:3002
UI External: http://localhost:3002
---------------------------------------
I know that I can specify the Local/External port in the config.stencil.json file. However, I don't seem to have any control on the proxying and UI ports which leads to collisions.
Is there a way to specify these? I'd even settle for disabling browsersync and the UI stuff.
Solution 1:[1]
You can define the default start port using
stencil init … —port xxxx
However it doesn’t seem like you can change the proxy port.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
