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

Method reloadProjects

lib/models/package-info-cache/index.js:222–226  ·  view source on GitHub ↗

* To support the project.reloadPkg method, we need the ability to flush * the cache and reload from the updated package.json. * There are some issues with doing this: * - Because of the possible relationship between projects and their addons * due to symlinks, it's not trivial to f

()

Source from the content-addressed store, hash-verified

220 * @return null
221 */
222 reloadProjects() {
223 let projects = this.projects.slice();
224 this._clear();
225 projects.forEach((project) => this.loadProject(project));
226 }
227
228 /**
229 * Do the actual processing of the root directory of an addon, when the addon

Callers 1

reloadPkgMethod · 0.80

Calls 2

_clearMethod · 0.95
loadProjectMethod · 0.95

Tested by

no test coverage detected