summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-02 15:09:50 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-02 15:09:50 +1100
commit38197e7ab57155249c9ed340e481efced65412bb (patch)
tree641ac8ad48d82f3077dae5c169fda7966e3e386d /src
parentcleanup: remove popdown stuff (diff)
downloadcaelestia-shell-38197e7ab57155249c9ed340e481efced65412bb.tar.gz
caelestia-shell-38197e7ab57155249c9ed340e481efced65412bb.tar.bz2
caelestia-shell-38197e7ab57155249c9ed340e481efced65412bb.zip
config: log when updated
Diffstat (limited to 'src')
-rw-r--r--src/config/funcs.ts3
1 files changed, 2 insertions, 1 deletions
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 () => {