diff --git a/core/docz-core/src/states/config.ts b/core/docz-core/src/states/config.ts index 403b1f802..aeb0cb5e3 100644 --- a/core/docz-core/src/states/config.ts +++ b/core/docz-core/src/states/config.ts @@ -56,7 +56,7 @@ export const state = (config: Config): State => { id: 'config', start: async params => { const fn = async () => update(params, initial) - + await update(params, initial) watcher.on('add', fn) watcher.on('change', fn) watcher.on('unlink', fn)