{"action":"created","issue":{"url":"https://api.github.com/repos/sintaxi/harp/issues/589","repository_url":"https://api.github.com/repos/sintaxi/harp","labels_url":"https://api.github.com/repos/sintaxi/harp/issues/589/labels{/name}","comments_url":"https://api.github.com/repos/sintaxi/harp/issues/589/comments","events_url":"https://api.github.com/repos/sintaxi/harp/issues/589/events","html_url":"https://github.com/sintaxi/harp/issues/589","id":189695478,"number":589,"title":"Feature Request: Pre-compile hooks to wire in Grunt, Gulp, Brocolli, etc. where desired","user":{"login":"joshuairl","id":171077,"avatar_url":"https://avatars.githubusercontent.com/u/171077?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuairl","html_url":"https://github.com/joshuairl","followers_url":"https://api.github.com/users/joshuairl/followers","following_url":"https://api.github.com/users/joshuairl/following{/other_user}","gists_url":"https://api.github.com/users/joshuairl/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuairl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuairl/subscriptions","organizations_url":"https://api.github.com/users/joshuairl/orgs","repos_url":"https://api.github.com/users/joshuairl/repos","events_url":"https://api.github.com/users/joshuairl/events{/privacy}","received_events_url":"https://api.github.com/users/joshuairl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-16T12:55:07Z","updated_at":"2016-11-21T01:53:26Z","closed_at":null,"body":"It should have pre-compile hooks.\r\n\r\nMaybe just a directory or a particular initializer folder outside of public that doesn't get compiled for JS logic that needs to run prior to compiling.\r\n\r\nCould use it to do a simple concat of all of the JS, etc.\r\n\r\nThen you wouldn't have to worry about people wanting this functionality and they could do it all themselves if they desire it.\r\n\r\nIdeally, these pre-compile hooks would work in both server mode and compile mode.\r\n\r\nI'd love to be able to link to a single \"app.js\" for instance and have it \"just work\" because my pre-compile hook has taken care of that by compiling everything."},"comment":{"url":"https://api.github.com/repos/sintaxi/harp/issues/comments/261824623","html_url":"https://github.com/sintaxi/harp/issues/589#issuecomment-261824623","issue_url":"https://api.github.com/repos/sintaxi/harp/issues/589","id":261824623,"user":{"login":"matteo-bombelli","id":15176885,"avatar_url":"https://avatars.githubusercontent.com/u/15176885?v=3","gravatar_id":"","url":"https://api.github.com/users/matteo-bombelli","html_url":"https://github.com/matteo-bombelli","followers_url":"https://api.github.com/users/matteo-bombelli/followers","following_url":"https://api.github.com/users/matteo-bombelli/following{/other_user}","gists_url":"https://api.github.com/users/matteo-bombelli/gists{/gist_id}","starred_url":"https://api.github.com/users/matteo-bombelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matteo-bombelli/subscriptions","organizations_url":"https://api.github.com/users/matteo-bombelli/orgs","repos_url":"https://api.github.com/users/matteo-bombelli/repos","events_url":"https://api.github.com/users/matteo-bombelli/events{/privacy}","received_events_url":"https://api.github.com/users/matteo-bombelli/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T01:53:26Z","updated_at":"2016-11-21T01:53:26Z","body":"I've used it in a different way:\r\n\r\ngulp with: \r\n\r\n```javascript\r\nvar harp = require(\"harp\")\r\nharp.compile(projectPath [,outputPath] [, callback])\r\n```"}}
{"actor":{"display_login":"matteo-bombelli"}}