computmaxer / karma-jspm

Other
74 stars 50 forks source link

Support loading new files #121

Closed sylvain-hamel closed 8 years ago

sylvain-hamel commented 8 years ago

When a file is added, karma detects it and reloads the tests, the plug-in's loaded function is invoked but the file list is not refreshed so its doesn't load (System.import) the new file.

FrederikNJS commented 8 years ago

This is very annoying, every time I add a new test file, I have to stop karma, and then start it up again. Otherwise it doesn't run any of the tests in the new file.

FrederikNJS commented 8 years ago

@sylvain-hamel: I figured out what needed to be changed for the new files to be loaded automatically, and have submitted a pull request. If you are impatient, you can simply apply my change to your karma-jspm.

sylvain-hamel commented 8 years ago

@FrederikNS Thanks!