{"action":"opened","issue":{"url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/1220","repository_url":"https://api.github.com/repos/BrowserSync/browser-sync","labels_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/1220/labels{/name}","comments_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/1220/comments","events_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/1220/events","html_url":"https://github.com/BrowserSync/browser-sync/issues/1220","id":180597252,"number":1220,"title":"Can't get --extensions option to work when using CLI","user":{"login":"axelboc","id":2936402,"avatar_url":"https://avatars.githubusercontent.com/u/2936402?v=3","gravatar_id":"","url":"https://api.github.com/users/axelboc","html_url":"https://github.com/axelboc","followers_url":"https://api.github.com/users/axelboc/followers","following_url":"https://api.github.com/users/axelboc/following{/other_user}","gists_url":"https://api.github.com/users/axelboc/gists{/gist_id}","starred_url":"https://api.github.com/users/axelboc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axelboc/subscriptions","organizations_url":"https://api.github.com/users/axelboc/orgs","repos_url":"https://api.github.com/users/axelboc/repos","events_url":"https://api.github.com/users/axelboc/events{/privacy}","received_events_url":"https://api.github.com/users/axelboc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-03T09:29:59Z","updated_at":"2016-10-03T09:29:59Z","closed_at":null,"body":"### Issue details\r\n\r\nI can't seem to get vanity URLs (i.e. optional `html` extension) to work when running Browserify from the command line.\r\n\r\n### Steps to reproduce/test case\r\n\r\n1. Place two files, `index.html` and `foo.html`, inside a folder called `public`\r\n2. Add the following anchor link to `index.html`: `<a href=\"/foo\">foo</a>`\r\n3. From the parent directory of `public`, run `browser-sync start --server \"public\" --extensions \"html\"`\r\n4. `localhost:3000` opens and serves `index.html` automatically; select the link\r\n5. Browser (in my case Firefox) shows: \"Cannot GET /foo\"\r\n\r\n### Please specify which version of Browsersync, node and npm you're running\r\n\r\n- Browsersync [  2.17.0  ]\r\n- Node            [  6.5.0  ]\r\n- Npm             [  3.10.3  ]\r\n\r\n### Affected platforms\r\n\r\n- [ ] linux\r\n- [x] windows\r\n- [ ] OS X\r\n- [ ] freebsd\r\n- [ ] solaris\r\n- [ ] other _(please specify which)_\r\n\r\n### Browsersync use-case\r\n\r\n- [ ] API\r\n- [ ] Gulp\r\n- [ ] Grunt\r\n- [x] CLI\r\n\r\n### If CLI, please paste the entire command below\r\n\r\nI tried:\r\n\r\n```\r\nbrowser-sync start --server \"public\" --extensions \"html\"\r\nbrowser-sync start --server \"public\" --extensions \".html\"\r\n```\r\n"}}
{"actor":{"display_login":"axelboc"}}