{"action":"created","issue":{"url":"https://api.github.com/repos/napcs/node-livereload/issues/35","labels_url":"https://api.github.com/repos/napcs/node-livereload/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/napcs/node-livereload/issues/35/comments","events_url":"https://api.github.com/repos/napcs/node-livereload/issues/35/events","html_url":"https://github.com/napcs/node-livereload/issues/35","id":60357585,"number":35,"title":"Does livereload auto listen for changes?","user":{"login":"iamdriz","id":801252,"avatar_url":"https://avatars.githubusercontent.com/u/801252?v=3","gravatar_id":"","url":"https://api.github.com/users/iamdriz","html_url":"https://github.com/iamdriz","followers_url":"https://api.github.com/users/iamdriz/followers","following_url":"https://api.github.com/users/iamdriz/following{/other_user}","gists_url":"https://api.github.com/users/iamdriz/gists{/gist_id}","starred_url":"https://api.github.com/users/iamdriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamdriz/subscriptions","organizations_url":"https://api.github.com/users/iamdriz/orgs","repos_url":"https://api.github.com/users/iamdriz/repos","events_url":"https://api.github.com/users/iamdriz/events{/privacy}","received_events_url":"https://api.github.com/users/iamdriz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-09T15:11:43Z","updated_at":"2015-03-09T16:30:13Z","closed_at":"2015-03-09T16:30:13Z","body":"I'm using this plugin with grunt watch and it works great. When I change a file that my grunt watch is watching it will cause the page to be reloaded successfully.\r\n\r\nBut I noticed that because you declare livereload to watch a directory and if you console out the server variable that it's in fact looking for a bunch of different files by default...\r\n\r\n~~~\r\nvar livereload = require('livereload');\r\nvar server = livereload.createServer();\r\nserver.watch(__dirname);\r\n\r\nconsole.log(server);\r\n~~~\r\n\r\nSo does this mean that the plugin should automatically causing a reload if files are changed in the specified directory? As for me this isn't the case, it only fires via the grunt watch module. So if I edit a HTML file or CSS file, nothing happens..."},"comment":{"url":"https://api.github.com/repos/napcs/node-livereload/issues/comments/77888961","html_url":"https://github.com/napcs/node-livereload/issues/35#issuecomment-77888961","issue_url":"https://api.github.com/repos/napcs/node-livereload/issues/35","id":77888961,"user":{"login":"iamdriz","id":801252,"avatar_url":"https://avatars.githubusercontent.com/u/801252?v=3","gravatar_id":"","url":"https://api.github.com/users/iamdriz","html_url":"https://github.com/iamdriz","followers_url":"https://api.github.com/users/iamdriz/followers","following_url":"https://api.github.com/users/iamdriz/following{/other_user}","gists_url":"https://api.github.com/users/iamdriz/gists{/gist_id}","starred_url":"https://api.github.com/users/iamdriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamdriz/subscriptions","organizations_url":"https://api.github.com/users/iamdriz/orgs","repos_url":"https://api.github.com/users/iamdriz/repos","events_url":"https://api.github.com/users/iamdriz/events{/privacy}","received_events_url":"https://api.github.com/users/iamdriz/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T16:30:13Z","updated_at":"2015-03-09T16:30:13Z","body":"This can be solved by using `tiny-lr` and then handling ALL the watching via grunt watch."}}