Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(watcher): Make watcher injectable to support 3rd-party watch…
…ers (#3254) Over the years, there has been several suggestions to make the default watcher in Karma (that uses chokidar) dependency injectable so that Karma could work well with third-party watchers. Prior issues: 1. #1468 2. #2895 Candidate third-party watchers include: 1. Watcher for Broccoli 2. Watcher for Bazel 3. Watcher for Blaze (used internally at Google) This commit makes the change to allow other Karma plugins to specify the 'watcher' value in the di system and Karma would use the supplied watcher instead.
- Loading branch information
1 parent
988b901
commit d59cf35
Showing
2 changed files
with
10 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