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

Method build

lib/models/server-watcher.js:6–13  ·  view source on GitHub ↗
(options, build)

Source from the content-addressed store, hash-verified

4
5module.exports = class ServerWatcher extends Watcher {
6 static async build(options, build) {
7 let { watcher: instance } = await super.build(options, build);
8
9 instance.watcher.on('add', instance.didAdd.bind(instance));
10 instance.watcher.on('delete', instance.didDelete.bind(instance));
11
12 return { watcher: instance };
13 }
14
15 constructBroccoliWatcher(options) {
16 return new (require('sane'))(this.watchedDir, options);

Callers

nothing calls this directly

Calls 1

onMethod · 0.45

Tested by

no test coverage detected