{"action":"opened","issue":{"url":"https://api.github.com/repos/firstandthird/load-grunt-config/issues/114","labels_url":"https://api.github.com/repos/firstandthird/load-grunt-config/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/firstandthird/load-grunt-config/issues/114/comments","events_url":"https://api.github.com/repos/firstandthird/load-grunt-config/issues/114/events","html_url":"https://github.com/firstandthird/load-grunt-config/issues/114","id":58787855,"number":114,"title":"Using with grunt-shipit","user":{"login":"vpratfr","id":2526465,"avatar_url":"https://avatars.githubusercontent.com/u/2526465?v=3","gravatar_id":"","url":"https://api.github.com/users/vpratfr","html_url":"https://github.com/vpratfr","followers_url":"https://api.github.com/users/vpratfr/followers","following_url":"https://api.github.com/users/vpratfr/following{/other_user}","gists_url":"https://api.github.com/users/vpratfr/gists{/gist_id}","starred_url":"https://api.github.com/users/vpratfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpratfr/subscriptions","organizations_url":"https://api.github.com/users/vpratfr/orgs","repos_url":"https://api.github.com/users/vpratfr/repos","events_url":"https://api.github.com/users/vpratfr/events{/privacy}","received_events_url":"https://api.github.com/users/vpratfr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-24T19:06:39Z","updated_at":"2015-02-24T19:06:39Z","closed_at":null,"body":"I have grunt-shipit loaded and deploying my project nicely. From their documentation, I can run some tasks on some events. When using a basic Grunfile, [this looks like that](https://github.com/shipitjs/grunt-shipit/blob/master/examples/Gruntfile.js): \r\n\r\n```\r\nmodule.exports = function (grunt) {\r\n  grunt.initConfig({\r\n    shipit: {\r\n      options: {        \r\n  // (...)\r\n      }\r\n    }\r\n  });\r\n\r\n  grunt.loadNpmTasks('grunt-shipit');\r\n  grunt.loadNpmTasks('shipit-deploy');\r\n\r\n  // (...)\r\n\r\n  /**\r\n   * Initialize hooks.\r\n   */\r\n  grunt.shipit.on('fetched', function () {\r\n    grunt.task.run(['build']);\r\n  });\r\n```\r\n\r\nUsing your plugin I have externalized all the shipit configuration to a shipit.yaml file. (or could also be a js file)\r\n\r\nNow what I am missing is how can I hook into shipit ?\r\n\r\nIf I add the `grunt.shipit.on('fetched', fu...` code after the `load-grunt-config` code I get an error: `TypeError: Object #<Object> has no method 'on'`\r\n\r\nPS: I am using jitGrunt as described in your README"}}