Skip to content

Commit

Permalink
refactor(transformer): correct api source file watch logic
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Dec 7, 2020
1 parent aa65252 commit c54da35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/preset-dumi/src/transformer/remark/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ function watchComponentUpdate(absPath: string, componentName: string, identifier

// update api data
applyApiData(identifier, definitions);

// watch next turn
watchComponentUpdate(absPath, componentName, identifier);
});
}

Expand Down

0 comments on commit c54da35

Please sign in to comment.