I've started using bit so that I can reuse common components across different react projects.
This is great, but I've run into a rather annoying situation when I want to modify one of my bit components.
They live in the components
folder at the root of my project's directory. This outside of the src
folder which I guess is what cra is watching when I run the yarn start
command.
So when I modify the component code, nothing happens and I have to rerun the yarn start
command to see any of the effects of my changes.
Is it possible to tell cra to watch folders other than src
for changes and trigger an update?