Issue details
browser-sync start --open does not work with URL
# Choose which URL is auto-opened (local, external or tunnel), or provide a url
$ browser-sync start --open 'http://localhost:3000/public/index.html' --server --files './**/*.*'
https://browsersync.io/docs/command-line
Steps to reproduce/test case
- create a new node.js project, with a
public folder and index.html file
- run npm script
# Choose which URL is auto-opened (local, external or tunnel), or provide a url
$ browser-sync start --open 'http://localhost:3000/public/index.html' --server --files './**/*.*'
opened http://localhost:3000/ ❌
wanted http://localhost:3000/public/index.html ✅


Please specify which version of Browsersync, node and npm you're running
- Browsersync [ 2.26.7 ]
- Node [ 18.12.0 ]
- Npm [ 8.19.2 ]
$ browser-sync --version
# 2.26.7
$ node -v
# v18.12.0
$ npm -v
# 8.19.2
Affected platforms
Browsersync use-case
If CLI, please paste the entire command below
# Choose which URL is auto-opened (local, external or tunnel), or provide a url
$ browser-sync start --open 'http://localhost:3000/public/index.html' --server --files './**/*.*'
Issue details
browser-sync start
--opendoes not work with URLhttps://browsersync.io/docs/command-line
Steps to reproduce/test case
publicfolder andindex.htmlfileopened
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