You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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 './**/*.*'
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
# 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 './**/*.*'
The text was updated successfully, but these errors were encountered:
xgqfrms
changed the title
browser-sync star --open does not work with URL
browser-sync start --open does not work with URL
Nov 16, 2022
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: