{"action":"created","issue":{"url":"https://api.github.com/repos/shakyShane/browser-sync/issues/406","labels_url":"https://api.github.com/repos/shakyShane/browser-sync/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/shakyShane/browser-sync/issues/406/comments","events_url":"https://api.github.com/repos/shakyShane/browser-sync/issues/406/events","html_url":"https://github.com/shakyShane/browser-sync/issues/406","id":55523541,"number":406,"title":"Based on doc example, simply does not work","user":{"login":"micahblu","id":441559,"avatar_url":"https://avatars.githubusercontent.com/u/441559?v=3","gravatar_id":"","url":"https://api.github.com/users/micahblu","html_url":"https://github.com/micahblu","followers_url":"https://api.github.com/users/micahblu/followers","following_url":"https://api.github.com/users/micahblu/following{/other_user}","gists_url":"https://api.github.com/users/micahblu/gists{/gist_id}","starred_url":"https://api.github.com/users/micahblu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micahblu/subscriptions","organizations_url":"https://api.github.com/users/micahblu/orgs","repos_url":"https://api.github.com/users/micahblu/repos","events_url":"https://api.github.com/users/micahblu/events{/privacy}","received_events_url":"https://api.github.com/users/micahblu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-26T19:10:05Z","updated_at":"2015-01-26T19:42:09Z","closed_at":null,"body":"I followed the docs and I have a simple folder with an index.html and a gulp file containing code from the docs, however, when I run gulp I get a browser window showing me the index.html yet when I edit index.html it does not update?\r\n\r\n```javascript\r\nvar gulp = require('gulp'),\r\n    browserSync = require('browser-sync');\r\n\r\ngulp.task('browser-sync', function() {\r\n  browserSync({\r\n    server: {\r\n      baseDir: \"./\"\r\n    }\r\n  });\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/shakyShane/browser-sync/issues/comments/71523844","html_url":"https://github.com/shakyShane/browser-sync/issues/406#issuecomment-71523844","issue_url":"https://api.github.com/repos/shakyShane/browser-sync/issues/406","id":71523844,"user":{"login":"faergeek","id":3524621,"avatar_url":"https://avatars.githubusercontent.com/u/3524621?v=3","gravatar_id":"","url":"https://api.github.com/users/faergeek","html_url":"https://github.com/faergeek","followers_url":"https://api.github.com/users/faergeek/followers","following_url":"https://api.github.com/users/faergeek/following{/other_user}","gists_url":"https://api.github.com/users/faergeek/gists{/gist_id}","starred_url":"https://api.github.com/users/faergeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faergeek/subscriptions","organizations_url":"https://api.github.com/users/faergeek/orgs","repos_url":"https://api.github.com/users/faergeek/repos","events_url":"https://api.github.com/users/faergeek/events{/privacy}","received_events_url":"https://api.github.com/users/faergeek/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T19:42:09Z","updated_at":"2015-01-26T19:42:09Z","body":"You need to specify files to watch, like this:\r\n\r\n```javascript\r\nvar gulp = require('gulp'),\r\n    browserSync = require('browser-sync');\r\n\r\ngulp.task('browser-sync', function() {\r\n  browserSync({\r\n    server: {\r\n      baseDir: \"./\"\r\n    },\r\n\r\n    files: [\r\n      \"css/**/*.css\",\r\n      \"js/**/*.js\",\r\n      \"index.html\"\r\n    ]\r\n  });\r\n});\r\n```\r\n\r\nBut documentation should be fixed anyway."}}