Open lucastrvsn opened 3 years ago
Did you ever figure this out? I have a workaround that I have been using where I will copy the tailwind config file into the .docz folder and then run docz dev, but would be nice if there was a less hacky solution.
Hey @ali-ahari-hashemi, can you share your workaround in detail? Thanks
Bug Report
Describe the bug
When developing components for tailwindcss, I will separate each component on your own file. But, if I require this file and edit it, docz will not reload this file and its content. If you edit the root component file, it will be reloaded. On the reproduceable repo I mark with comments how to test it.
To Reproduce
https://github.com/lucastrvsn/docz-issue-postcss-import
To test, make some changes on
src/components.js
and onsrc/tailwind.js
. Follow the comments onsrc/tailwind.js
.Expected behavior
Reloading the css when I edit both files.
Environment