When using Storybook in a project, it's important to ensure that new components are dynamically watched without needing to restart the server. This tutorial will guide you on how to enable dynamic file watching in Storybook without the start
command in your package.json
scripts.
Ensure that your tailwind.config.js
file includes all necessary file types in the content
array. Here’s an example configuration: