Currently docgen isn't updated during HMR. Fixed it by upping updated file version so TS would know to update it in cache.
One drawback though: if you're importing type from another file hot reload would not work when you change file with export, but will work when you update file which imports the type.
Fixes https://github.com/strothj/react-docgen-typescript-loader/issues/43
Currently docgen isn't updated during HMR. Fixed it by upping updated file version so TS would know to update it in cache.
One drawback though: if you're importing type from another file hot reload would not work when you change file with export, but will work when you update file which imports the type.