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

Method didChange

lib/models/watcher.js:120–138  ·  view source on GitHub ↗
(results)

Source from the content-addressed store, hash-verified

118 }
119
120 didChange(results) {
121 logger.info('didChange %o', results);
122
123 results.totalTime = this._totalTime(results);
124 let totalTime = results.totalTime / 1e6;
125 let message = chalk.green(`Build successful (${Math.round(totalTime)}ms)`);
126
127 this.ui.writeLine('');
128
129 if (this.serving) {
130 message += ` – Serving on ${this.serveURL(this.options, this.options.project)}`;
131 }
132
133 this.ui.writeLine(message);
134
135 if (this.verbose) {
136 printSlowTrees(results.graph.__heimdall__);
137 }
138 }
139
140 buildOptions() {
141 let watcher = this.options && this.options.watcher;

Callers 2

watcher-test.jsFile · 0.45

Calls 1

_totalTimeMethod · 0.95

Tested by

no test coverage detected