MCPcopy Index your code
hub / github.com/cameri/nostream / reload

Method reload

src/utils/settings.ts:115–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113 const settingsFilePath = join(basePath, `settings.${fileType}`)
114
115 const reload = () => {
116 logger('reloading settings')
117 SettingsStatic._settings = undefined
118 SettingsStatic.createSettings()
119 }
120
121 return [fs.watch(defaultsFilePath, 'utf8', reload), fs.watch(settingsFilePath, 'utf8', reload)]
122 }

Callers

nothing calls this directly

Calls 1

createSettingsMethod · 0.80

Tested by

no test coverage detected