{"action":"created","issue":{"url":"https://api.github.com/repos/karma-runner/karma/issues/2886","repository_url":"https://api.github.com/repos/karma-runner/karma","labels_url":"https://api.github.com/repos/karma-runner/karma/issues/2886/labels{/name}","comments_url":"https://api.github.com/repos/karma-runner/karma/issues/2886/comments","events_url":"https://api.github.com/repos/karma-runner/karma/issues/2886/events","html_url":"https://github.com/karma-runner/karma/pull/2886","id":276166617,"number":2886,"title":"refactor: run build on post-install instead of pre-publish","user":{"login":"EzraBrooks","id":1959658,"avatar_url":"https://avatars1.githubusercontent.com/u/1959658?v=4","gravatar_id":"","url":"https://api.github.com/users/EzraBrooks","html_url":"https://github.com/EzraBrooks","followers_url":"https://api.github.com/users/EzraBrooks/followers","following_url":"https://api.github.com/users/EzraBrooks/following{/other_user}","gists_url":"https://api.github.com/users/EzraBrooks/gists{/gist_id}","starred_url":"https://api.github.com/users/EzraBrooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EzraBrooks/subscriptions","organizations_url":"https://api.github.com/users/EzraBrooks/orgs","repos_url":"https://api.github.com/users/EzraBrooks/repos","events_url":"https://api.github.com/users/EzraBrooks/events{/privacy}","received_events_url":"https://api.github.com/users/EzraBrooks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-22T18:30:08Z","updated_at":"2017-11-22T21:00:29Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/karma-runner/karma/pulls/2886","html_url":"https://github.com/karma-runner/karma/pull/2886","diff_url":"https://github.com/karma-runner/karma/pull/2886.diff","patch_url":"https://github.com/karma-runner/karma/pull/2886.patch"},"body":"Fixes #2884.\r\n\r\nSwitching the bundling to happen on the client-side makes Karma development more flexible. For instance, on projects at work we pull npm packages based on git tags, since we don't have enough to warrant running a private npm registry. If we were to fork Karma, it wouldn't work at all due to the bundling being done on pre-publish.\r\n\r\nAdditionally, it allows developers to easily pull in pre-release versions of Karma to test locally, since they won't have to manually run the build script when installing the module into a test package."},"comment":{"url":"https://api.github.com/repos/karma-runner/karma/issues/comments/346471594","html_url":"https://github.com/karma-runner/karma/pull/2886#issuecomment-346471594","issue_url":"https://api.github.com/repos/karma-runner/karma/issues/2886","id":346471594,"user":{"login":"EzraBrooks","id":1959658,"avatar_url":"https://avatars1.githubusercontent.com/u/1959658?v=4","gravatar_id":"","url":"https://api.github.com/users/EzraBrooks","html_url":"https://github.com/EzraBrooks","followers_url":"https://api.github.com/users/EzraBrooks/followers","following_url":"https://api.github.com/users/EzraBrooks/following{/other_user}","gists_url":"https://api.github.com/users/EzraBrooks/gists{/gist_id}","starred_url":"https://api.github.com/users/EzraBrooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EzraBrooks/subscriptions","organizations_url":"https://api.github.com/users/EzraBrooks/orgs","repos_url":"https://api.github.com/users/EzraBrooks/repos","events_url":"https://api.github.com/users/EzraBrooks/events{/privacy}","received_events_url":"https://api.github.com/users/EzraBrooks/received_events","type":"User","site_admin":false},"created_at":"2017-11-22T21:00:29Z","updated_at":"2017-11-22T21:00:29Z","author_association":"NONE","body":"Worth noting that I think maybe a more elegant solution would be to compile the client-side resources when Karma spawns the web server for the first time, but this was the easier and quicker way to get my project working again."}}
{"actor":{"display_login":"EzraBrooks"}}