{"action":"created","issue":{"url":"https://api.github.com/repos/karma-runner/karma/issues/1219","labels_url":"https://api.github.com/repos/karma-runner/karma/issues/1219/labels{/name}","comments_url":"https://api.github.com/repos/karma-runner/karma/issues/1219/comments","events_url":"https://api.github.com/repos/karma-runner/karma/issues/1219/events","html_url":"https://github.com/karma-runner/karma/issues/1219","id":46172687,"number":1219,"title":"Dynamically add file available in testing inside preprocessor.","user":{"login":"ouhouhsami","id":193924,"avatar_url":"https://avatars.githubusercontent.com/u/193924?v=3","gravatar_id":"","url":"https://api.github.com/users/ouhouhsami","html_url":"https://github.com/ouhouhsami","followers_url":"https://api.github.com/users/ouhouhsami/followers","following_url":"https://api.github.com/users/ouhouhsami/following{/other_user}","gists_url":"https://api.github.com/users/ouhouhsami/gists{/gist_id}","starred_url":"https://api.github.com/users/ouhouhsami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ouhouhsami/subscriptions","organizations_url":"https://api.github.com/users/ouhouhsami/orgs","repos_url":"https://api.github.com/users/ouhouhsami/repos","events_url":"https://api.github.com/users/ouhouhsami/events{/privacy}","received_events_url":"https://api.github.com/users/ouhouhsami/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-10-18T12:03:11Z","updated_at":"2015-03-07T11:24:51Z","closed_at":null,"body":"Hello, \r\n\r\nIn a preprocessor, I process a file (and return it, all works well), but also I create a new one that I need to have available during testing. How can I achieve this, inside a preprocessor.\r\n\r\nBest"},"comment":{"url":"https://api.github.com/repos/karma-runner/karma/issues/comments/77685249","html_url":"https://github.com/karma-runner/karma/issues/1219#issuecomment-77685249","issue_url":"https://api.github.com/repos/karma-runner/karma/issues/1219","id":77685249,"user":{"login":"andersekdahl","id":163637,"avatar_url":"https://avatars.githubusercontent.com/u/163637?v=3","gravatar_id":"","url":"https://api.github.com/users/andersekdahl","html_url":"https://github.com/andersekdahl","followers_url":"https://api.github.com/users/andersekdahl/followers","following_url":"https://api.github.com/users/andersekdahl/following{/other_user}","gists_url":"https://api.github.com/users/andersekdahl/gists{/gist_id}","starred_url":"https://api.github.com/users/andersekdahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andersekdahl/subscriptions","organizations_url":"https://api.github.com/users/andersekdahl/orgs","repos_url":"https://api.github.com/users/andersekdahl/repos","events_url":"https://api.github.com/users/andersekdahl/events{/privacy}","received_events_url":"https://api.github.com/users/andersekdahl/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T11:24:51Z","updated_at":"2015-03-07T11:24:51Z","body":"+1\r\n\r\nI'm trying to get this working as well. What I'm doing is having both a framework and a preprocessor, and in the framework factory appending a file to the `config.files` list, and adding it to the `config.preprocessors` object as well. But for some reason it's not passed through my preprocessor. Is there some sort of timing issue where it's too late for the framework factory to add patterns to the `config.preprocessors` object? I can add them to `config.files` and they get included, just not processed."}}