{"action":"created","issue":{"url":"https://api.github.com/repos/Ceasar/easywatch/issues/8","labels_url":"https://api.github.com/repos/Ceasar/easywatch/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Ceasar/easywatch/issues/8/comments","events_url":"https://api.github.com/repos/Ceasar/easywatch/issues/8/events","html_url":"https://github.com/Ceasar/easywatch/issues/8","id":125176254,"number":8,"title":"\"moved\" type event cannot be handled","user":{"login":"PatrickMassot","id":14060883,"avatar_url":"https://avatars.githubusercontent.com/u/14060883?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickMassot","html_url":"https://github.com/PatrickMassot","followers_url":"https://api.github.com/users/PatrickMassot/followers","following_url":"https://api.github.com/users/PatrickMassot/following{/other_user}","gists_url":"https://api.github.com/users/PatrickMassot/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickMassot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickMassot/subscriptions","organizations_url":"https://api.github.com/users/PatrickMassot/orgs","repos_url":"https://api.github.com/users/PatrickMassot/repos","events_url":"https://api.github.com/users/PatrickMassot/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickMassot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-06T13:29:22Z","updated_at":"2016-01-06T18:38:08Z","closed_at":null,"body":"Whenever a file is moved in the watched directory, the registered handler has only access to the original path of the file not the new path. I think it makes easywatch pretty useless for this kind of events. In particular, this issue blocks full resolution of Ceasar/staticjinja#20.\r\n\r\nFixing this is trivial, e.g. one can require the handler to accept one more argument which would be the destination path for moved event and None otherwise. But of course this will break 100% scripts using easywatch. Do you know if there other projects than staticjinja relying on easywatch?"},"comment":{"url":"https://api.github.com/repos/Ceasar/easywatch/issues/comments/169414074","html_url":"https://github.com/Ceasar/easywatch/issues/8#issuecomment-169414074","issue_url":"https://api.github.com/repos/Ceasar/easywatch/issues/8","id":169414074,"user":{"login":"Ceasar","id":625822,"avatar_url":"https://avatars.githubusercontent.com/u/625822?v=3","gravatar_id":"","url":"https://api.github.com/users/Ceasar","html_url":"https://github.com/Ceasar","followers_url":"https://api.github.com/users/Ceasar/followers","following_url":"https://api.github.com/users/Ceasar/following{/other_user}","gists_url":"https://api.github.com/users/Ceasar/gists{/gist_id}","starred_url":"https://api.github.com/users/Ceasar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ceasar/subscriptions","organizations_url":"https://api.github.com/users/Ceasar/orgs","repos_url":"https://api.github.com/users/Ceasar/repos","events_url":"https://api.github.com/users/Ceasar/events{/privacy}","received_events_url":"https://api.github.com/users/Ceasar/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T18:38:08Z","updated_at":"2016-01-06T18:38:08Z","body":"I don't know of any. I originally wrote this library because it seemed useful for other projects besides staticjinja, but all the PRs have been fixes for staticjinja.\r\n\r\nWe can also make the change and release a new version, 0.1.0, with the fix so that we don't cause trouble for any users we don't know about."}}