stencil-cli
stencil-cli copied to clipboard
Is there a way to host Stencil CLI while in development?
Hey all
I am helping a customer convert from one store theme to another. I am doing a lot of work making adjustments in code, but there is a UX person that wants to do some work too, or at least preview what I see. I am wondering if there is a way you work with allowing the CLI to be hosted in a limited fashion to one or more viewers? I would prefer not to have to instruct non developers on how to run the theme locally.
I guess I could do some sort of NPM port proxy and allow them onto my development machine but it would be better if I could proxy this out somewhere public for them to view. Thanks
There's a --tunnel
option that looks like it does what you want.
Thanks, I don't see any other documentation except listing the command, going to dig a bit. Thanks
@focusede I've used ngrok & localtunnel before for something similar. Not sure if it's a bit late for a response for you here!
Cloudflare Tunnel and tunnelto are also options. Just in case you don't want to set up an ngrok account, and if localtunnel happens to be down (Stencil CLI's --tunnel
uses this internally).