MCPcopy Create free account
hub / github.com/Noumena-Network/code / handleChange

Function handleChange

src/utils/skills/skillChangeDetector.ts:251–259  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

249}
250
251function handleChange(path: string): void {
252 logForDebugging(`Detected skill change: ${path}`)
253 logEvent('ncode_skill_file_changed', {
254 source:
255 'chokidar' as AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS,
256 })
257
258 scheduleReload(path)
259}
260
261/**
262 * Debounce rapid skill changes into a single reload. When many skill files

Callers

nothing calls this directly

Calls 3

scheduleReloadFunction · 0.85
logForDebuggingFunction · 0.50
logEventFunction · 0.50

Tested by

no test coverage detected