{"action":"created","issue":{"url":"https://api.github.com/repos/yeoman/generator-webapp/issues/585","labels_url":"https://api.github.com/repos/yeoman/generator-webapp/issues/585/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/generator-webapp/issues/585/comments","events_url":"https://api.github.com/repos/yeoman/generator-webapp/issues/585/events","html_url":"https://github.com/yeoman/generator-webapp/issues/585","id":100244899,"number":585,"title":"Change js/css file doesn't trigger browserSync to reload the page","user":{"login":"hanfeisun","id":922081,"avatar_url":"https://avatars.githubusercontent.com/u/922081?v=3","gravatar_id":"","url":"https://api.github.com/users/hanfeisun","html_url":"https://github.com/hanfeisun","followers_url":"https://api.github.com/users/hanfeisun/followers","following_url":"https://api.github.com/users/hanfeisun/following{/other_user}","gists_url":"https://api.github.com/users/hanfeisun/gists{/gist_id}","starred_url":"https://api.github.com/users/hanfeisun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanfeisun/subscriptions","organizations_url":"https://api.github.com/users/hanfeisun/orgs","repos_url":"https://api.github.com/users/hanfeisun/repos","events_url":"https://api.github.com/users/hanfeisun/events{/privacy}","received_events_url":"https://api.github.com/users/hanfeisun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-11T07:24:33Z","updated_at":"2015-08-11T22:47:28Z","closed_at":null,"body":"Currently, the livereload property of `browserSync` looks like this:\r\n\r\n      livereload: {\r\n        options: {\r\n          files: [\r\n            '<%= config.app %>/{,*/}*.html',\r\n            '.tmp/styles/{,*/}*.css',\r\n            '<%= config.app %>/images/{,*/}*',\r\n            '.tmp/scripts/{,*/}*.js'\r\n          ],\r\n          port: 9000,\r\n          server: {\r\n            baseDir: ['.tmp', config.app],\r\n            routes: {\r\n              '/bower_components': './bower_components'\r\n            }\r\n          }\r\n        }\r\n      },\r\n\r\nWhen I change and save `app/index.html`, browserSync works well and reload the page. However, when I change and save `app/scripts/main.js` or `app/styles/main.css`.  The `watch:babel` or `watch:styles` tasks are triggered and the compiled `js` or `css` file are generated in `.tmp` folder, but somehow the browser doesn't reload at all...\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yeoman/generator-webapp/issues/comments/130101680","html_url":"https://github.com/yeoman/generator-webapp/issues/585#issuecomment-130101680","issue_url":"https://api.github.com/repos/yeoman/generator-webapp/issues/585","id":130101680,"user":{"login":"eddiemonge","id":127535,"avatar_url":"https://avatars.githubusercontent.com/u/127535?v=3","gravatar_id":"","url":"https://api.github.com/users/eddiemonge","html_url":"https://github.com/eddiemonge","followers_url":"https://api.github.com/users/eddiemonge/followers","following_url":"https://api.github.com/users/eddiemonge/following{/other_user}","gists_url":"https://api.github.com/users/eddiemonge/gists{/gist_id}","starred_url":"https://api.github.com/users/eddiemonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddiemonge/subscriptions","organizations_url":"https://api.github.com/users/eddiemonge/orgs","repos_url":"https://api.github.com/users/eddiemonge/repos","events_url":"https://api.github.com/users/eddiemonge/events{/privacy}","received_events_url":"https://api.github.com/users/eddiemonge/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T22:47:28Z","updated_at":"2015-08-11T22:47:28Z","body":"Try adding `watchTask: true` to the browserSync grunt config and see if that fixes it"}}