-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(web-server): Correctly update filesPromise on files updated
When the `file_list_modified` event was being emitted, the filesDeferred was simply being resolved again; this has no effect and subsequent calls to `filesPromise.then` continued to be resolved with the old files. This had the effect that issuing `karma run` did not result in new test files being served. This has been fixed by reverting the changes to `web-server.js` made in fabdbae.
- Loading branch information
1 parent
68b5208
commit 32eec8d
Showing
2 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters