I am using Yarn Workspaces to manage a mono repo. I am using webpack 4 for hot module reloading. In my mono repo I have an app, a UI component library, and another component library for authorizing users (auth package). I am using the component library in both the app and the auth package. Everything local to the app hot reloads fine, but the UI component library will not hot reload - it requires a full refresh.
I've tried accepting the UI component library using module.hot.accept(...)
, but doesn't seem to pick it up.
Guessing this question is a stretch, but any ideas?