{"action":"created","issue":{"url":"https://api.github.com/repos/middleman/middleman/issues/1227","labels_url":"https://api.github.com/repos/middleman/middleman/issues/1227/labels{/name}","comments_url":"https://api.github.com/repos/middleman/middleman/issues/1227/comments","events_url":"https://api.github.com/repos/middleman/middleman/issues/1227/events","html_url":"https://github.com/middleman/middleman/issues/1227","id":30163124,"number":1227,"title":"Swapping LiveReload with BrowserSync ","user":{"login":"kevinSuttle","id":95672,"avatar_url":"https://avatars.githubusercontent.com/u/95672?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinSuttle","html_url":"https://github.com/kevinSuttle","followers_url":"https://api.github.com/users/kevinSuttle/followers","following_url":"https://api.github.com/users/kevinSuttle/following{/other_user}","gists_url":"https://api.github.com/users/kevinSuttle/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinSuttle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinSuttle/subscriptions","organizations_url":"https://api.github.com/users/kevinSuttle/orgs","repos_url":"https://api.github.com/users/kevinSuttle/repos","events_url":"https://api.github.com/users/kevinSuttle/events{/privacy}","received_events_url":"https://api.github.com/users/kevinSuttle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-03-25T20:55:51Z","updated_at":"2015-05-20T05:29:28Z","closed_at":null,"body":"I've been using BrowserSync locally and I find it invaluable. Is it possible to not use middleman-livereload and use BrowserSync instead? I'm not sure how much work under the hood would be required given the asset pipeline and the async nature of BrowserSync, but I thought I'd ask anyway.\r\n\r\n[browsersync.io](browsersync.io)\r\n\r\ncc: @shakyshane\r\n"},"comment":{"url":"https://api.github.com/repos/middleman/middleman/issues/comments/103765110","html_url":"https://github.com/middleman/middleman/issues/1227#issuecomment-103765110","issue_url":"https://api.github.com/repos/middleman/middleman/issues/1227","id":103765110,"user":{"login":"tdreyno","id":233,"avatar_url":"https://avatars.githubusercontent.com/u/233?v=3","gravatar_id":"","url":"https://api.github.com/users/tdreyno","html_url":"https://github.com/tdreyno","followers_url":"https://api.github.com/users/tdreyno/followers","following_url":"https://api.github.com/users/tdreyno/following{/other_user}","gists_url":"https://api.github.com/users/tdreyno/gists{/gist_id}","starred_url":"https://api.github.com/users/tdreyno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdreyno/subscriptions","organizations_url":"https://api.github.com/users/tdreyno/orgs","repos_url":"https://api.github.com/users/tdreyno/repos","events_url":"https://api.github.com/users/tdreyno/events{/privacy}","received_events_url":"https://api.github.com/users/tdreyno/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T05:29:28Z","updated_at":"2015-05-20T05:29:28Z","body":"In config.\r\n\r\n```\r\n  activate :external_pipeline,\r\n    name: :webpack,\r\n    command: \"cd frontend/ && #{build? ? './bin/build' : './bin/watch'}\",\r\n    source: \"frontend/dist\",\r\n    latency: 2\r\n```\r\n\r\nWhere `frontend` is a folder with a  npm/webpack setup. `build` simply calls `webpack -p` and `watch` calls `webpack --watch`.\r\n\r\nDocs for this v4 stuff will be getting fleshed out as we approach launch."}}