Issue details
I can't seem to get vanity URLs (i.e. optional html extension) to work when running Browserify from the command line.
Steps to reproduce/test case
- Place two files,
index.html and foo.html, inside a folder called public
- Add the following anchor link to
index.html: <a href="/foo">foo</a>
- From the parent directory of
public, run browser-sync start --server "public" --extensions "html"
localhost:3000 opens and serves index.html automatically; select the link
- Browser (in my case Firefox) shows: "Cannot GET /foo"
Please specify which version of Browsersync, node and npm you're running
- Browsersync [ 2.17.0 ]
- Node [ 6.5.0 ]
- Npm [ 3.10.3 ]
Affected platforms
Browsersync use-case
If CLI, please paste the entire command below
I tried:
browser-sync start --server "public" --extensions "html"
browser-sync start --server "public" --extensions ".html"
Issue details
I can't seem to get vanity URLs (i.e. optional
htmlextension) to work when running Browserify from the command line.Steps to reproduce/test case
index.htmlandfoo.html, inside a folder calledpublicindex.html:<a href="/foo">foo</a>public, runbrowser-sync start --server "public" --extensions "html"localhost:3000opens and servesindex.htmlautomatically; select the linkPlease specify which version of Browsersync, node and npm you're running
Affected platforms
Browsersync use-case
If CLI, please paste the entire command below
I tried: