Skip to content
Discussion options

You must be logged in to vote

Problem solved: my glob pattern was not excluding each package's node_modules.
Changed from

...packagesWithUiComponents.map(pkg => `../../packages/${pkg}/**/*.{jsx,tsx}`),

to

...packagesWithUiComponents.map(pkg => `../../packages/${pkg}/src/**/*.{jsx,tsx}`),

and now hot reloading takes < 300ms.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Etchelon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant