Open
Description
- I have searched the Issues to see if this bug has already been reported
- I have tested the latest version
Steps to reproduce
- Start the
flowbite-react dev
server - Look at the generated class-list.json file
Current behavior
Currently there is a random ]
somewhere in the list whenever I start the dev server. As as result the flowbite tailwind-classes are not being generated correctly. However it is not there if generated with flowbite-react build
. After some investigation I think the dev server triggers the generation process too fast and start writing the class-list file even the previous writes are not finished.

Expected behavior
The class-list file is being generated correctly and the dev server waits for the previous writes to be finished.
Maybe a lock or debouncing logic fixes this issue.