hard-source-webpack-plugin
hard-source-webpack-plugin copied to clipboard
Find out what invalidates the cache
@mzgoddard I love HardSource and appreciate the amazing work and ample thought put into it. After having been using for a while, I feel like HardSource more often then not invalidates the cache when it shouldn't. How do I go about finding out what exactly caused HardSource to detect a "false negative" and invalidate the cache? Perhaps I can contribute back improvements to HardSource. Thanks!
@mzgoddard bump! :)
@stereokai :wink: hard-source-webpack-plugin@next is working towards this and messaging about the cache size and automatic clean up of old caches. Right now that consists of stating a summary of files that goes into the environment hash and referencing the cache related to each hard-source message.
Probably during a patch for 0.7 or working in 0.8's alpha I think I'm going to add storing the hashed info and rendering a diff after the hash changes.
People always say I'm ahead of my time 😁 Well that's awesome news on it's own!
Is there anything I can do now (by debugging maybe) to figure that out on my own without bothering you too much?
@mzgoddard Hey buddy, any chance we can allocate some time for this? Cheers :)
@mzgoddard trying to bring this back into the spotlight :)