{"action":"created","issue":{"url":"https://api.github.com/repos/brunch/brunch/issues/951","labels_url":"https://api.github.com/repos/brunch/brunch/issues/951/labels{/name}","comments_url":"https://api.github.com/repos/brunch/brunch/issues/951/comments","events_url":"https://api.github.com/repos/brunch/brunch/issues/951/events","html_url":"https://github.com/brunch/brunch/issues/951","id":66756130,"number":951,"title":"Allow onCompile to take a 'done' callback to indicate whether its job has been done","user":{"login":"oliverzy","id":1321817,"avatar_url":"https://avatars.githubusercontent.com/u/1321817?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverzy","html_url":"https://github.com/oliverzy","followers_url":"https://api.github.com/users/oliverzy/followers","following_url":"https://api.github.com/users/oliverzy/following{/other_user}","gists_url":"https://api.github.com/users/oliverzy/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverzy/subscriptions","organizations_url":"https://api.github.com/users/oliverzy/orgs","repos_url":"https://api.github.com/users/oliverzy/repos","events_url":"https://api.github.com/users/oliverzy/events{/privacy}","received_events_url":"https://api.github.com/users/oliverzy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-07T02:44:24Z","updated_at":"2015-04-08T11:17:25Z","closed_at":null,"body":"Hi,\r\n\r\nCurrently onCompile only takes an array of compiled files, but if I would like to do some async work in this function, I have no way to tell it that my async work has been done."},"comment":{"url":"https://api.github.com/repos/brunch/brunch/issues/comments/90882673","html_url":"https://github.com/brunch/brunch/issues/951#issuecomment-90882673","issue_url":"https://api.github.com/repos/brunch/brunch/issues/951","id":90882673,"user":{"login":"es128","id":1740641,"avatar_url":"https://avatars.githubusercontent.com/u/1740641?v=3","gravatar_id":"","url":"https://api.github.com/users/es128","html_url":"https://github.com/es128","followers_url":"https://api.github.com/users/es128/followers","following_url":"https://api.github.com/users/es128/following{/other_user}","gists_url":"https://api.github.com/users/es128/gists{/gist_id}","starred_url":"https://api.github.com/users/es128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/es128/subscriptions","organizations_url":"https://api.github.com/users/es128/orgs","repos_url":"https://api.github.com/users/es128/repos","events_url":"https://api.github.com/users/es128/events{/privacy}","received_events_url":"https://api.github.com/users/es128/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T11:17:25Z","updated_at":"2015-04-08T11:17:25Z","body":"auto-reload also leverages `onCompile` so it's interesting to consider how to ensure the order in which these are executed is correct. \r\n\r\nIn your case are you using a custom plugin or defining your `onCompile` in config?"}}