Closed FrederikNJS closed 8 years ago
Hmm, tests seem to be failing, I'll see what I can do.
EDIT: Tests run as they should now.
@FrederikNS This pull request has merge conflicts, please resolve.
Merge Conflicts are fixed.
+1 This looks good to me! Thank you for the contribution @FrederikNS!
@trentgrover-wf @evanweible-wf
+1
+1 @jayudey-wf ready for merge
QA Resource Approval: +10
Merging into master.
Fixes #121
I was quite annoyed that
karma-jspm
didn't load new files when they were added. So I found out that there is afile_list_modified
event emitted fromkarma
, when the file list changes. I simply injected the emitter and wrapped theexpandedFiles
assignment in it.I have tested the change against one of my own projects, and running karma in watch mode now correctly loads new files when I add them.
Hope you like it ;-)