-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CP-1358 Add option to not cache jspm_packages #126
Conversation
@AurelienRibon have you seen #115 that was released in karma-jspm 2.0.3? Does that satisfy your needs here? |
I already saw this fix and tried my use-case on the HEAD of master before send the PR. Fix #115 is to disable cache for user files, my PR is to disable it for files in |
Let's just default this option to true, I imagine this is a pretty common issue for people as jspm_packages tends to get huge. |
Awesome! Do you want to handle that or should I push another commit? What should be the name of the option? |
Yeah, I like that. So I think it would be var jspmPattern = createServedPattern(packagesPath + '**/*', jspm.cachePackages !== true); Feel free to push another commit or amend your original commit and force push, whichever you prefer |
While you're at it if you'd like to add it to the README for others, that would be nice |
Defaults to false.
Done! |
+1 |
+1 |
1 similar comment
+1 |
when I install your branch into a project that is consuming karma-jspm i'm seeing the following error messages when running unit tests through sauce labs
|
👍 |
Having the same issue and this pull request seems to fix it, thank you! Any idea when this fix will be merged to the master? |
@jayudey-wf @maxwellpeterson-wf |
@AurelienRibon This pull request has merge conflicts, please resolve. |
Merged here: #151 |
This solves OSX bug with
EMFILE: too many open files
. The default is not changed, the change is proposed as an option to include in config file.