Skip to content

Commit

Permalink
fix(docz-core): entries not initialized on build (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elvin Dzhavadov authored and pedronauck committed Mar 26, 2019
1 parent 6dd068c commit 3e99db0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/docz-core/src/states/entries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const state = (entries: Entries, config: Config): State => {
start: async params => {
const update = updateEntries(entries)

update(params);
watcher.on('add', async () => update(params))
watcher.on('change', async () => update(params))
watcher.on('unlink', async () => update(params))
Expand Down

0 comments on commit 3e99db0

Please sign in to comment.