solidusjs / solidus

A simple server that generates pages from JSON and Templates
MIT License
28 stars 7 forks source link

Invalidate all cached preprocessors on changes #145

Closed pushred closed 7 years ago

pushred commented 7 years ago

This stops short of installed modules but invalidates everything else to ensure that preprocessor code is reloaded on the next page load. I could try to filter the modules to just those that require the changed module (children) but not sure how to do that comparison and the necessary traversal/comparisons would likely be more expensive than just invalidating everything.