Docz: dozc dev is ultra slow

Created on 1 Apr 2020  路  10Comments  路  Source: doczjs/docz

Question

Description
Our library has 6 components. every time I run docz dev is very slow. Is there a way to speed up docz dev or is there a way to build only changed components.

My docz config

export default {
src: '../packages/',
files: '*/.{mdx,example.tsx}',
typescript: true,
title: 'Lendi Shared Components',
theme: './theme',
dest: 'dist',
};

stale

Most helpful comment

Leave Docz, the only quick solution.

All 10 comments

In my project this is the slow part:

success source and transform nodes - 32.091s

Based on my experience in #1447 I think it's probably reading/parsing a lot of files even though they're supposed to be excluded

Yeah
in my project
success source and transform nodes - 137.039s

It's horrible

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Any news on how to speed up the build and hot reload?

Leave Docz, the only quick solution.

@link2malkeet what did you choose instead?

Storybook - far better than docz - https://storybook.js.org/docs/guides/guide-react/

also having this slowness issue. anytime i add a new mdx file it just hangs on this.

success Re-building development bundle - 0.308s

I'm using typescript. killing the process and restarting works though. Not a pleasant experience at all.

Are there any solution for this problem. I'm facing with the ultra slow problem on docz

Hello guys, is there anything I can do to make my build less slow?

Was this page helpful?
0 / 5 - 0 ratings