{"action":"created","issue":{"url":"https://api.github.com/repos/vohof/gulp-livereload/issues/59","labels_url":"https://api.github.com/repos/vohof/gulp-livereload/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/vohof/gulp-livereload/issues/59/comments","events_url":"https://api.github.com/repos/vohof/gulp-livereload/issues/59/events","html_url":"https://github.com/vohof/gulp-livereload/issues/59","id":53400994,"number":59,"title":"New syntax, livereload() doesnt seem to work","user":{"login":"tschellenbach","id":265409,"avatar_url":"https://avatars.githubusercontent.com/u/265409?v=3","gravatar_id":"","url":"https://api.github.com/users/tschellenbach","html_url":"https://github.com/tschellenbach","followers_url":"https://api.github.com/users/tschellenbach/followers","following_url":"https://api.github.com/users/tschellenbach/following{/other_user}","gists_url":"https://api.github.com/users/tschellenbach/gists{/gist_id}","starred_url":"https://api.github.com/users/tschellenbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschellenbach/subscriptions","organizations_url":"https://api.github.com/users/tschellenbach/orgs","repos_url":"https://api.github.com/users/tschellenbach/repos","events_url":"https://api.github.com/users/tschellenbach/events{/privacy}","received_events_url":"https://api.github.com/users/tschellenbach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-01-05T14:28:53Z","updated_at":"2015-01-28T15:08:12Z","closed_at":null,"body":"\r\nConnect the live reload\r\n\r\n```javascript\r\n    gulp.task('watch', function() {\r\n      livereload.listen();\r\n      gulp.watch('static/scss/**/*.*', ['css']);\r\n      gulp.watch('templates/**/*.*', ['css']);\r\n      gulp.watch('static/js/**/*.js', ['css']);\r\n      gulp.watch('**/*.py', ['css']);\r\n    });\r\n```\r\n\r\nPropagate changes\r\n\r\n```javascript\r\n    gulp.task('css', function() {\r\n      gulp.src('static/scss/*.scss')\r\n      .pipe(compass({\r\n        config_file: './config.rb',\r\n        sass: 'static/scss',\r\n        css: 'dist/styles'\r\n      }))\r\n      .pipe(autoprefixer())\r\n      .pipe(minifyCSS())\r\n      .pipe(gulp.dest('dist/styles'))\r\n      .pipe(livereload());\r\n    });\r\n```\r\n\r\nThe livereload() is called, but doesn't seem to trigger a reload of the browser. It worked with the old syntax using .on('changed') events.\r\n"},"comment":{"url":"https://api.github.com/repos/vohof/gulp-livereload/issues/comments/71849451","html_url":"https://github.com/vohof/gulp-livereload/issues/59#issuecomment-71849451","issue_url":"https://api.github.com/repos/vohof/gulp-livereload/issues/59","id":71849451,"user":{"login":"james-peel","id":1257352,"avatar_url":"https://avatars.githubusercontent.com/u/1257352?v=3","gravatar_id":"","url":"https://api.github.com/users/james-peel","html_url":"https://github.com/james-peel","followers_url":"https://api.github.com/users/james-peel/followers","following_url":"https://api.github.com/users/james-peel/following{/other_user}","gists_url":"https://api.github.com/users/james-peel/gists{/gist_id}","starred_url":"https://api.github.com/users/james-peel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/james-peel/subscriptions","organizations_url":"https://api.github.com/users/james-peel/orgs","repos_url":"https://api.github.com/users/james-peel/repos","events_url":"https://api.github.com/users/james-peel/events{/privacy}","received_events_url":"https://api.github.com/users/james-peel/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T15:08:12Z","updated_at":"2015-01-28T15:08:12Z","body":"Getting the same issues here using the latest version and syntax. Everything running OK, but livereload never bumps the browser.\r\n\r\n```\r\n[15:05:43] Starting 'styles'...\r\n[15:05:43] Finished 'styles' after 2.71 ms\r\n  gulp:livereload no server listening, nothing notified. +9s\r\n  gulp:livereload no server listening, nothing notified. +0ms\r\n  gulp:livereload no server listening, nothing notified. +0ms\r\n  tinylr:server New LiveReload connection (id: ws0) +11s\r\n```"}}