From 38197e7ab57155249c9ed340e481efced65412bb Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 2 Apr 2025 15:09:50 +1100 Subject: config: log when updated --- src/config/funcs.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config/funcs.ts b/src/config/funcs.ts index bf181fb..253164e 100644 --- a/src/config/funcs.ts +++ b/src/config/funcs.ts @@ -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 () => { -- cgit v1.2.3-freya