MCPcopy Index your code
hub / github.com/vercel/hyper / reload

Function reload

lib/utils/plugins.ts:393–399  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

391loadModules();
392
393export function reload() {
394 clearModulesCache();
395 loadModules();
396 // trigger re-decoration when components
397 // get re-rendered
398 decorated = {};
399}
400
401function getProps(name: keyof typeof propsDecorators, props: any, ...fnArgs: any[]) {
402 const decorators = propsDecorators[name];

Callers

nothing calls this directly

Calls 2

clearModulesCacheFunction · 0.85
loadModulesFunction · 0.85

Tested by

no test coverage detected