{"action":"created","issue":{"url":"https://api.github.com/repos/BrowserSync/gulp-browser-sync/issues/42","labels_url":"https://api.github.com/repos/BrowserSync/gulp-browser-sync/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/BrowserSync/gulp-browser-sync/issues/42/comments","events_url":"https://api.github.com/repos/BrowserSync/gulp-browser-sync/issues/42/events","html_url":"https://github.com/BrowserSync/gulp-browser-sync/issues/42","id":57363530,"number":42,"title":"Gulp reload( { stream: true } ) Not Working on Yosemite 10.10.1","user":{"login":"zlanich","id":1522665,"avatar_url":"https://avatars.githubusercontent.com/u/1522665?v=3","gravatar_id":"","url":"https://api.github.com/users/zlanich","html_url":"https://github.com/zlanich","followers_url":"https://api.github.com/users/zlanich/followers","following_url":"https://api.github.com/users/zlanich/following{/other_user}","gists_url":"https://api.github.com/users/zlanich/gists{/gist_id}","starred_url":"https://api.github.com/users/zlanich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zlanich/subscriptions","organizations_url":"https://api.github.com/users/zlanich/orgs","repos_url":"https://api.github.com/users/zlanich/repos","events_url":"https://api.github.com/users/zlanich/events{/privacy}","received_events_url":"https://api.github.com/users/zlanich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-11T19:22:23Z","updated_at":"2015-05-10T19:37:03Z","closed_at":null,"body":"I'm unable to get the reload method to work in Gulp under any circumstances. Absolutely nothing happens when I call reload() no matter what configuration I use. There are no logged events when debugging log level is enabled either. I am however able to get it to work if I use BrowserSync to watch my compiled file directly and forgo using the reload method at all.\r\n\r\nBelow is my configuration:\r\n```js\r\nvar browserSync = require('browser-sync');\r\nvar reload = browserSync.reload;\r\n\r\ngulp.task('browser-sync', function() {\r\n  browserSync({\r\n    proxy: \"dev-local.mysite.com\",\r\n  });\r\n});\r\n\r\ngulp.task('bs-reload', function () {\r\n  reload();\r\n});\r\n\r\ngulp.task('default', function() {\r\n  gulp.run('compile-less');\r\n});\r\n\r\ngulp.task('compile-less', function() {\r\n\r\n  var filesToCompile = [\r\n    './less/site.less'\r\n  ];\r\n\r\n  gulp.src( filesToCompile )\r\n\r\n    .pipe( plumber({ errorHandler: notify.onError(\"Error: <%= error.message %>\") }) )\r\n\r\n    .pipe( less({\r\n      relativeUrls: true\r\n    }) )\r\n\r\n    .pipe( concat( 'style.compiled.css' ) )\r\n\r\n    .pipe( gulp.dest('./css') )\r\n\r\n    .pipe( reload( { stream: true } ) )\r\n\r\n    .pipe( notify('Gulp Build Completed') );\r\n});\r\n\r\ngulp.task('watch', function() {\r\n  gulp.watch( filesToWatch , ['default']);\r\n});\r\n```\r\n\r\nIf you have any input on why this may be, please help! Thanks!"},"comment":{"url":"https://api.github.com/repos/BrowserSync/gulp-browser-sync/issues/comments/100685812","html_url":"https://github.com/BrowserSync/gulp-browser-sync/issues/42#issuecomment-100685812","issue_url":"https://api.github.com/repos/BrowserSync/gulp-browser-sync/issues/42","id":100685812,"user":{"login":"Keats","id":680355,"avatar_url":"https://avatars.githubusercontent.com/u/680355?v=3","gravatar_id":"","url":"https://api.github.com/users/Keats","html_url":"https://github.com/Keats","followers_url":"https://api.github.com/users/Keats/followers","following_url":"https://api.github.com/users/Keats/following{/other_user}","gists_url":"https://api.github.com/users/Keats/gists{/gist_id}","starred_url":"https://api.github.com/users/Keats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keats/subscriptions","organizations_url":"https://api.github.com/users/Keats/orgs","repos_url":"https://api.github.com/users/Keats/repos","events_url":"https://api.github.com/users/Keats/events{/privacy}","received_events_url":"https://api.github.com/users/Keats/received_events","type":"User","site_admin":false},"created_at":"2015-05-10T19:37:03Z","updated_at":"2015-05-10T19:37:03Z","body":"Hello,\r\nI just updated a project I hadn't used for a while and .reload doesn't inject the css on change.\r\nHere's the repo https://github.com/Keats/snowflake\r\nI'm on Archlinux"}}