Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ subscribeRefresh
Function
subscribeRefresh
packages/tui/src/context/theme.tsx:46–49 ·
view source on GitHub ↗
(refresh)
Source
from the content-addressed store, hash-verified
44
return discoverThemes(directories)
45
},
46
subscribeRefresh(refresh) {
47
process.on(
"SIGUSR2"
, refresh)
48
return () => process.off(
"SIGUSR2"
, refresh)
49
},
50
}
51
52
export async function discoverThemes(directories: string[]) {
Callers
nothing calls this directly
Calls
2
on
Method · 0.80
off
Method · 0.80
Tested by
no test coverage detected