{"action":"created","issue":{"url":"https://api.github.com/repos/niceandserious/crafty-vagrant/issues/12","repository_url":"https://api.github.com/repos/niceandserious/crafty-vagrant","labels_url":"https://api.github.com/repos/niceandserious/crafty-vagrant/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/niceandserious/crafty-vagrant/issues/12/comments","events_url":"https://api.github.com/repos/niceandserious/crafty-vagrant/issues/12/events","html_url":"https://github.com/niceandserious/crafty-vagrant/issues/12","id":142521845,"number":12,"title":"browserSync","user":{"login":"chrisdubya","id":7106557,"avatar_url":"https://avatars.githubusercontent.com/u/7106557?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdubya","html_url":"https://github.com/chrisdubya","followers_url":"https://api.github.com/users/chrisdubya/followers","following_url":"https://api.github.com/users/chrisdubya/following{/other_user}","gists_url":"https://api.github.com/users/chrisdubya/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdubya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdubya/subscriptions","organizations_url":"https://api.github.com/users/chrisdubya/orgs","repos_url":"https://api.github.com/users/chrisdubya/repos","events_url":"https://api.github.com/users/chrisdubya/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdubya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-22T01:52:22Z","updated_at":"2016-03-23T23:01:24Z","closed_at":"2016-03-23T19:30:18Z","body":"I've forked the repo and am trying to add browserSync to the gulpfile, mainly for scss and script update.  \r\n\r\nJust wanted to know if you have already been working on this feature yet?  \r\n\r\nEventually it would be nice to also get it working with .html.  I had it working on the PwC EYF, but was using nunjucks for the templating."},"comment":{"url":"https://api.github.com/repos/niceandserious/crafty-vagrant/issues/comments/200575712","html_url":"https://github.com/niceandserious/crafty-vagrant/issues/12#issuecomment-200575712","issue_url":"https://api.github.com/repos/niceandserious/crafty-vagrant/issues/12","id":200575712,"user":{"login":"peterlarkin","id":2335553,"avatar_url":"https://avatars.githubusercontent.com/u/2335553?v=3","gravatar_id":"","url":"https://api.github.com/users/peterlarkin","html_url":"https://github.com/peterlarkin","followers_url":"https://api.github.com/users/peterlarkin/followers","following_url":"https://api.github.com/users/peterlarkin/following{/other_user}","gists_url":"https://api.github.com/users/peterlarkin/gists{/gist_id}","starred_url":"https://api.github.com/users/peterlarkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterlarkin/subscriptions","organizations_url":"https://api.github.com/users/peterlarkin/orgs","repos_url":"https://api.github.com/users/peterlarkin/repos","events_url":"https://api.github.com/users/peterlarkin/events{/privacy}","received_events_url":"https://api.github.com/users/peterlarkin/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T23:01:24Z","updated_at":"2016-03-23T23:01:24Z","body":"@nickautomatic @chrisdubya \r\n\r\nI've been incorporating this into my project tonight and have made a few improvements to the browsersync setup. I've created a pull request (#15). Would be great to see what you guys think – it's working really well for me. Changes include:\r\n\r\n- You can now serve over your vhost URL (http://craft.dev) and still get livereloading, rather than browsersync opening up http://localhost:3000 and only livereloading there. This requires a script tag in the _layout template (but only in craft.config.devMode).\r\n- Only do a full page refresh for changes to twig templates. Styles *and* now scripts are now both streamed and injected on change.\r\n- I've changed the task to `gulp serve` as it feels more natural and is a bit quicker than `gulp browsersync` :smile: "}}