{"action":"closed","issue":{"url":"https://api.github.com/repos/RexOps/Rex/issues/919","repository_url":"https://api.github.com/repos/RexOps/Rex","labels_url":"https://api.github.com/repos/RexOps/Rex/issues/919/labels{/name}","comments_url":"https://api.github.com/repos/RexOps/Rex/issues/919/comments","events_url":"https://api.github.com/repos/RexOps/Rex/issues/919/events","html_url":"https://github.com/RexOps/Rex/issues/919","id":131089426,"number":919,"title":"before_task_start and after_task_finished does not seem to executing.","user":{"login":"nosmircss","id":6717194,"avatar_url":"https://avatars.githubusercontent.com/u/6717194?v=3","gravatar_id":"","url":"https://api.github.com/users/nosmircss","html_url":"https://github.com/nosmircss","followers_url":"https://api.github.com/users/nosmircss/followers","following_url":"https://api.github.com/users/nosmircss/following{/other_user}","gists_url":"https://api.github.com/users/nosmircss/gists{/gist_id}","starred_url":"https://api.github.com/users/nosmircss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosmircss/subscriptions","organizations_url":"https://api.github.com/users/nosmircss/orgs","repos_url":"https://api.github.com/users/nosmircss/repos","events_url":"https://api.github.com/users/nosmircss/events{/privacy}","received_events_url":"https://api.github.com/users/nosmircss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RexOps/Rex/labels/regression","name":"regression","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"krimdomu","id":388436,"avatar_url":"https://avatars.githubusercontent.com/u/388436?v=3","gravatar_id":"","url":"https://api.github.com/users/krimdomu","html_url":"https://github.com/krimdomu","followers_url":"https://api.github.com/users/krimdomu/followers","following_url":"https://api.github.com/users/krimdomu/following{/other_user}","gists_url":"https://api.github.com/users/krimdomu/gists{/gist_id}","starred_url":"https://api.github.com/users/krimdomu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krimdomu/subscriptions","organizations_url":"https://api.github.com/users/krimdomu/orgs","repos_url":"https://api.github.com/users/krimdomu/repos","events_url":"https://api.github.com/users/krimdomu/events{/privacy}","received_events_url":"https://api.github.com/users/krimdomu/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/RexOps/Rex/milestones/48","html_url":"https://github.com/RexOps/Rex/milestones/1.4.0","labels_url":"https://api.github.com/repos/RexOps/Rex/milestones/48/labels","id":1141097,"number":48,"title":"1.4.0","description":"","creator":{"login":"ferki","id":3117609,"avatar_url":"https://avatars.githubusercontent.com/u/3117609?v=3","gravatar_id":"","url":"https://api.github.com/users/ferki","html_url":"https://github.com/ferki","followers_url":"https://api.github.com/users/ferki/followers","following_url":"https://api.github.com/users/ferki/following{/other_user}","gists_url":"https://api.github.com/users/ferki/gists{/gist_id}","starred_url":"https://api.github.com/users/ferki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferki/subscriptions","organizations_url":"https://api.github.com/users/ferki/orgs","repos_url":"https://api.github.com/users/ferki/repos","events_url":"https://api.github.com/users/ferki/events{/privacy}","received_events_url":"https://api.github.com/users/ferki/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":115,"state":"open","created_at":"2015-05-30T08:52:31Z","updated_at":"2016-02-06T09:15:00Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-02-03T17:06:07Z","updated_at":"2016-02-06T09:15:00Z","closed_at":"2016-02-06T09:15:00Z","body":"I am having problems with before_task_start with 1.3.3_01. below is an example that used to work with 1.3.3.\r\n\r\n```bash\r\nxxxxx@xxxxx ~/rex/test $ cat Rexfile \r\ntask \"uptime\" => sub { say \"task\" };\r\nbefore_task_start \"uptime\" => sub { say \"before_task_start\" };\r\nbefore \"uptime\" => sub { say \"before\" };\r\nafter \"uptime\" => sub { say \"after\" };\r\nafter_task_finished \"uptime\" => sub { say \"after_task_finished\" };\r\n\r\nxxxxx@xxxxx ~/rex/test $ sudo cpanm install Rex@1.3.3 \r\ninstall is up to date. (0.01)\r\n--> Working on Rex\r\nFetching http://www.cpan.org/authors/id/F/FE/FERKI/Rex-1.3.3.tar.gz ... OK\r\nConfiguring Rex-1.3.3 ... OK\r\nBuilding and testing Rex-1.3.3 ... OK\r\nSuccessfully installed Rex-1.3.3 (upgraded from 1.3.3_01)\r\n1 distribution installed\r\n\r\nxxxxx@xxxxx ~/rex/test $ rex uptime\r\nbefore_task_start\r\n[2016-02-03 09:51:10] INFO - Running task uptime on <local>\r\nbefore\r\ntask\r\nafter\r\nafter_task_finished\r\n\r\nxxxxx@xxxxx ~/rex/test $ sudo cpanm install Rex@1.3.3_01\r\ninstall is up to date. (0.01)\r\n--> Working on Rex\r\nFetching http://www.cpan.org/authors/id/F/FE/FERKI/Rex-1.3.3_01.tar.gz ... OK\r\nConfiguring Rex-1.3.3_01 ... OK\r\nBuilding and testing Rex-1.3.3_01 ... OK\r\nSuccessfully installed Rex-1.3.3_01 (upgraded from 1.3.3)\r\n1 distribution installed\r\n\r\nxxxxx@xxxxx ~/rex/test $ rex uptime\r\n[2016-02-03 09:52:21] INFO - Running task uptime on <local>\r\nbefore\r\ntask\r\nafter\r\n[2016-02-03 09:52:21] INFO - All tasks successful on all hosts\r\n```"}}