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

Method setupBroccoliChangeEvent

lib/models/watcher.js:69–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 }
68
69 setupBroccoliChangeEvent() {
70 // This is to keep backwards compatibility with broccoli-sane-watcher.
71 // https://github.com/ember-cli/broccoli-sane-watcher/blob/48860/index.js#L158
72 if (this.verbose) {
73 this.watcher.on('change', (event, filePath) => {
74 this.ui.writeLine(`file ${eventTypeNormalization[event]} ${filePath}`);
75 });
76 }
77 }
78
79 async _setupBroccoliWatcherBuild() {
80 try {

Callers 1

setupBroccoliWatcherMethod · 0.95

Calls 1

onMethod · 0.45

Tested by

no test coverage detected