{"action":"closed","issue":{"url":"https://api.github.com/repos/eaburns/Watch/issues/25","labels_url":"https://api.github.com/repos/eaburns/Watch/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/eaburns/Watch/issues/25/comments","events_url":"https://api.github.com/repos/eaburns/Watch/issues/25/events","html_url":"https://github.com/eaburns/Watch/issues/25","id":103465305,"number":25,"title":"-x only works for directories","user":{"login":"sqweek","id":1590301,"avatar_url":"https://avatars.githubusercontent.com/u/1590301?v=3","gravatar_id":"","url":"https://api.github.com/users/sqweek","html_url":"https://github.com/sqweek","followers_url":"https://api.github.com/users/sqweek/followers","following_url":"https://api.github.com/users/sqweek/following{/other_user}","gists_url":"https://api.github.com/users/sqweek/gists{/gist_id}","starred_url":"https://api.github.com/users/sqweek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sqweek/subscriptions","organizations_url":"https://api.github.com/users/sqweek/orgs","repos_url":"https://api.github.com/users/sqweek/repos","events_url":"https://api.github.com/users/sqweek/events{/privacy}","received_events_url":"https://api.github.com/users/sqweek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-27T09:18:40Z","updated_at":"2015-11-07T15:40:51Z","closed_at":"2015-11-07T15:40:51Z","body":"eg. with no exclusions, `Watch -v -t echo build`\r\n\r\n`touch .git/newfile` => causes build\r\n`touch .gitignore` => causes build\r\n\r\nNow try `Watch -v -t -x '.git.*' echo build`\r\nDebug output says:\r\n\r\n    2015/08/27 14:15:36 DEBUG: excluding .git\r\n    2015/08/27 14:15:36 DEBUG: excluding .gitignore\r\n\r\nbut then:\r\n\r\n`touch .gitignore` => causes build\r\n\r\n`touch .git/newfile` is however correctly ignored.\r\n"}}