{"action":"created","issue":{"url":"https://api.github.com/repos/guard/guard-livereload/issues/133","labels_url":"https://api.github.com/repos/guard/guard-livereload/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/guard/guard-livereload/issues/133/comments","events_url":"https://api.github.com/repos/guard/guard-livereload/issues/133/events","html_url":"https://github.com/guard/guard-livereload/issues/133","id":58588808,"number":133,"title":"CSS not reloaded - invalid command 'reload', only valid commands are: hello","user":{"login":"janisit","id":11160163,"avatar_url":"https://avatars.githubusercontent.com/u/11160163?v=3","gravatar_id":"","url":"https://api.github.com/users/janisit","html_url":"https://github.com/janisit","followers_url":"https://api.github.com/users/janisit/followers","following_url":"https://api.github.com/users/janisit/following{/other_user}","gists_url":"https://api.github.com/users/janisit/gists{/gist_id}","starred_url":"https://api.github.com/users/janisit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janisit/subscriptions","organizations_url":"https://api.github.com/users/janisit/orgs","repos_url":"https://api.github.com/users/janisit/repos","events_url":"https://api.github.com/users/janisit/events{/privacy}","received_events_url":"https://api.github.com/users/janisit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-23T14:01:20Z","updated_at":"2015-02-26T12:11:40Z","closed_at":null,"body":"Hi,\r\n\r\nI am getting this JavaScript error in my browser:\r\n LiveReload protocol error (invalid command 'reload', only valid commands are: hello)) after receiving data: \"{\"command\":\"reload\",\"path\":\"/home/web/public_html/css/style.css\",\"liveCSS\":true}\"..\r\n\r\nThe used gem versions are:\r\nguard 2.12.3\r\nguard-compass 1.1.0\r\nguard-livereload 2.4.0\r\nguard-shell 0.6.1\r\n\r\nAny ideas?\r\n\r\nRegards,\r\nJanis\r\n"},"comment":{"url":"https://api.github.com/repos/guard/guard-livereload/issues/comments/76167949","html_url":"https://github.com/guard/guard-livereload/issues/133#issuecomment-76167949","issue_url":"https://api.github.com/repos/guard/guard-livereload/issues/133","id":76167949,"user":{"login":"janisit","id":11160163,"avatar_url":"https://avatars.githubusercontent.com/u/11160163?v=3","gravatar_id":"","url":"https://api.github.com/users/janisit","html_url":"https://github.com/janisit","followers_url":"https://api.github.com/users/janisit/followers","following_url":"https://api.github.com/users/janisit/following{/other_user}","gists_url":"https://api.github.com/users/janisit/gists{/gist_id}","starred_url":"https://api.github.com/users/janisit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janisit/subscriptions","organizations_url":"https://api.github.com/users/janisit/orgs","repos_url":"https://api.github.com/users/janisit/repos","events_url":"https://api.github.com/users/janisit/events{/privacy}","received_events_url":"https://api.github.com/users/janisit/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T12:11:40Z","updated_at":"2015-02-26T12:11:40Z","body":"Thanks for your help e2. I hardcoded the protocol version in livereload.js. So basically I changed\r\n\r\n Parser.prototype.reset = function () {\r\n            return this.protocol = null;\r\n        };\r\n\r\nto \r\n\r\n Parser.prototype.reset = function () {\r\n            return this.protocol = 7;\r\n        };\r\n\r\n\r\nHacking the livereload.js isn't prettiest way of doing it, but it worked for me."}}