Closed maksimr closed 11 years ago
Hi @maksimr, Karma intentionally only supports preprocessing 1-1. Which means, you can't do "compiling many files into a single file", because it slows down development a lot.
You can read this thread on mailing list, which talks about the exact same problem: https://groups.google.com/d/topic/karma-users/sRVEMzyj06U/discussion
Thanks!
16.11.2013, 06:03, "Vojta Jina" notifications@github.com:
Hi @maksimr, Karma intentionally only supports preprocessing 1-1. Which means, you can't do "compiling many files into a single file", because it slows down development a lot.
You can read this thread on mailing list, which talks about the exact same problem: https://groups.google.com/d/topic/karma-users/sRVEMzyj06U/discussion
— Reply to this email directly or view it on GitHub.
С уважением, Рыжиков Максим Николаевич
Best Regards, Ryzhikov Maksim
rv.maksim@yandex.ru maksimrv@yandex-team.ru
Hello!
I have some problem with integration karma to our workflow.
Try describe my problem.
First we have custom javascript file builder borschik in our project. It build one main file from deps files.
main.js:
depA.js:
depB.js
On client we send file:
mail-processed.js
I wrote preprocessor for karma which expand dependency in main file(main.js). In single run thats ok, but when I run karma with watch and change any deps files (depA.js or depB.js) main file doesn't changed :(
And when karma rerun tests we run them with old code.
I want reprocess main file (main.js) every time when changed deps files. I look at karma-closure and karma source, but until that this effort was not successful.
Thanks for any help!
P.S.
It is simple example. I know that there is a solution in the form of a include deps files to the client. But now it is very hard to do. :(
borschik karma-borschik-preprocessor
Gist with problem description