Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to host Stencil CLI while in development? #1076

Open
focusede opened this issue Mar 5, 2023 · 4 comments
Open

Is there a way to host Stencil CLI while in development? #1076

focusede opened this issue Mar 5, 2023 · 4 comments

Comments

@focusede
Copy link

focusede commented Mar 5, 2023

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

@lord2800
Copy link
Contributor

lord2800 commented Mar 6, 2023

There's a --tunnel option that looks like it does what you want.

@focusede
Copy link
Author

focusede commented Mar 6, 2023

Thanks, I don't see any other documentation except listing the command, going to dig a bit. Thanks

@AndrewBarber
Copy link

@focusede I've used ngrok & localtunnel before for something similar. Not sure if it's a bit late for a response for you here!

@jp06
Copy link

jp06 commented Nov 7, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants