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
browser-sync start --open
does not work with URL
#1982
Comments
xgqfrms
changed the title
browser-sync star
browser-sync start Nov 16, 2022
--open
does not work with URL--open
does not work with URL
I noticed this too. Instead, I got it working with browser-sync . --startPath=/public/index.html --watch then it automatically opens the browser to |
thanks @trusktr, that's correct. Agree with the original post too though - this should 'just work' with |
also side note, that command in the original post could probably be shorted to # before
browser-sync start --open 'http://localhost:3000/public/index.html' --server --files './**/*.*'
# after
browser-syn public -w |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue details
browser-sync start
--open
does not work with URLhttps://browsersync.io/docs/command-line
Steps to reproduce/test case
public
folder andindex.html
fileopened
http://localhost:3000/
❌wanted
http://localhost:3000/public/index.html
✅Please specify which version of Browsersync, node and npm you're running
Affected platforms
Browsersync use-case
If CLI, please paste the entire command below
The text was updated successfully, but these errors were encountered: