MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / build

Method build

lib/models/watcher.js:29–37  ·  view source on GitHub ↗
(_options)

Source from the content-addressed store, hash-verified

27 }
28
29 static async build(_options) {
30 let watcher = new this(_options, ConstructedFromBuilder);
31 await watcher.setupBroccoliWatcher(_options);
32
33 // This indirection is because Watcher instances are themselves spec
34 // noncompliant thennables (see the then() method) so returning watcher
35 // directly will interfere with `await Watcher.build()`
36 return { watcher };
37 }
38
39 async setupBroccoliWatcher() {
40 let options = this.buildOptions();

Callers 3

runFunction · 0.45
runMethod · 0.45
runMethod · 0.45

Calls 1

setupBroccoliWatcherMethod · 0.45

Tested by

no test coverage detected