config: log when updated

This commit is contained in:
2 * r + 2 * t 2025-04-02 15:09:50 +11:00
parent e9eba2e291
commit 38197e7ab5

View file

@ -85,7 +85,8 @@ const updateSection = (from: { [k: string]: any }, to: { [k: string]: any }, pat
export const updateConfig = async () => {
updateSection(deepMerge(defaults, JSON.parse(await readFileAsync(CONFIG))), config);
loadStyleAsync().catch(console.error);
await loadStyleAsync();
console.log("[LOG] Config updated");
};
export const initConfig = async () => {