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

Method on

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

Source from the content-addressed store, hash-verified

157 }
158
159 on() {
160 const args = arguments;
161 if (args[0] === 'change' && !this.watchedDir) {
162 args[0] = 'buildSuccess';
163 }
164 this.watcher.on.apply(this.watcher, args);
165 }
166
167 off() {
168 const args = arguments;

Callers 12

setupSignalsTrapFunction · 0.45
trapWindowsSignalsFunction · 0.45
setupBroccoliWatcherMethod · 0.45
buildMethod · 0.45
run-command.jsFile · 0.45
constructorMethod · 0.45
npmPackFunction · 0.45
__name__.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected