mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
config: reload config upon plugins change due to decoration
This commit is contained in:
parent
25027c12a3
commit
e2ebbf4e5e
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ export function getConfig () {
|
|||
|
||||
export function subscribe (fn) {
|
||||
ipcRenderer.on('config change', fn);
|
||||
ipcRenderer.on('plugins change', fn);
|
||||
return () => {
|
||||
ipcRenderer.removeListener('config change', fn);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue