Closed sylvain-hamel closed 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.
@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.
@FrederikNS Thanks!
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.