{"action":"created","issue":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-watch/issues/471","labels_url":"https://api.github.com/repos/gruntjs/grunt-contrib-watch/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-watch/issues/471/comments","events_url":"https://api.github.com/repos/gruntjs/grunt-contrib-watch/issues/471/events","html_url":"https://github.com/gruntjs/grunt-contrib-watch/issues/471","id":115006713,"number":471,"title":"Grunt watch stops noticing changes after switching git branch","user":{"login":"FireArrow","id":1497322,"avatar_url":"https://avatars.githubusercontent.com/u/1497322?v=3","gravatar_id":"","url":"https://api.github.com/users/FireArrow","html_url":"https://github.com/FireArrow","followers_url":"https://api.github.com/users/FireArrow/followers","following_url":"https://api.github.com/users/FireArrow/following{/other_user}","gists_url":"https://api.github.com/users/FireArrow/gists{/gist_id}","starred_url":"https://api.github.com/users/FireArrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FireArrow/subscriptions","organizations_url":"https://api.github.com/users/FireArrow/orgs","repos_url":"https://api.github.com/users/FireArrow/repos","events_url":"https://api.github.com/users/FireArrow/events{/privacy}","received_events_url":"https://api.github.com/users/FireArrow/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-04T09:16:40Z","updated_at":"2015-12-23T02:17:49Z","closed_at":"2015-12-23T02:17:49Z","body":"If you watch a file tracked by git, watch will stop noticing changes after switching git branch.\r\n\r\nSteps to reproduce:\r\n```\r\ngrunt watch &\r\ntouch tracked-file\r\n# Watch triggers, as expected\r\ngit checkout some-other-branch\r\ntouch tracked-file\r\n# Watch doesn't trigger\r\n```\r\n\r\nRelevant software versions:\r\n* grunt-contrib-watch: 0.6.1\r\n* grunt-cli v0.1.13\r\n* grunt v0.4.5\r\n* node v4.1.1"},"comment":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-watch/issues/comments/166788292","html_url":"https://github.com/gruntjs/grunt-contrib-watch/issues/471#issuecomment-166788292","issue_url":"https://api.github.com/repos/gruntjs/grunt-contrib-watch/issues/471","id":166788292,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T02:17:49Z","updated_at":"2015-12-23T02:17:49Z","body":"Closing for lack of response by OP."}}