(_options, build)
| 16 | |
| 17 | module.exports = class Watcher extends CoreObject { |
| 18 | constructor(_options, build) { |
| 19 | if (build !== ConstructedFromBuilder) { |
| 20 | throw new Error('instantiate Watcher with (await Watcher.build()).watcher, not new Watcher()'); |
| 21 | } |
| 22 | |
| 23 | super(_options); |
| 24 | |
| 25 | this.verbose = true; |
| 26 | this.serving = _options.serving; |
| 27 | } |
| 28 | |
| 29 | static async build(_options) { |
| 30 | let watcher = new this(_options, ConstructedFromBuilder); |
nothing calls this directly
no outgoing calls
no test coverage detected