BrowserSync config is not editable
Expected behavior
I need to be able to configure browsersync port
Actual behavior
I can't do that
Steps to reproduce behavior
stencil start
Environment
Gitpod. Basically, here is what happens: http://localhost:3000 -> Accessed at https://3000-dev-env.local http://localhost:3001 -> Accessed at https://3001-dev-env.local http://localhost:3002 -> Accessed at https://3002-dev-env.local
I need to configure BrowserSync to match my env, is it possible to do that? BrowserSync tries to find the frontend preview at: https://3002-dev-env.local:3000/browser-sync/socket.io/?EIO=4&transport=polling&t=O2wpXFT
When it's actually at: https://3000-dev-env.local/browser-sync/socket.io/?EIO=4&transport=polling&t=O2wpXFT
I hope I explained clearly my problem.
Thanks!
Stencil-cli version stencil --version:
3.5.1
Node version node -v:
v12.22.12
NPM version npm -v:
6.14.16
OS:
Ubuntu 20.04.4 LTS (docker)
Would also be nice if you could turn it off! I'd prefer to use HMR in webpack
FYI, this took me forever to figure out. Finally through editing my local version of stencil-run I was able to see that the server is really running on port 3001. So if you want to run stuff like lighthouse etc locally w/o browser sync. Just goto http://localhost:3001