diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-02 15:09:50 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-02 15:09:50 +1100 |
| commit | 38197e7ab57155249c9ed340e481efced65412bb (patch) | |
| tree | 641ac8ad48d82f3077dae5c169fda7966e3e386d | |
| parent | cleanup: remove popdown stuff (diff) | |
| download | caelestia-shell-38197e7ab57155249c9ed340e481efced65412bb.tar.gz caelestia-shell-38197e7ab57155249c9ed340e481efced65412bb.tar.bz2 caelestia-shell-38197e7ab57155249c9ed340e481efced65412bb.zip | |
config: log when updated
| -rw-r--r-- | src/config/funcs.ts | 3 |
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 () => { |