jedireza / hapi-react-views

:package: A hapi view engine for React components
MIT License
231 stars 33 forks source link

Support removeCache option for any file extension #59

Closed tribou closed 8 years ago

tribou commented 8 years ago

Currently, removeCache is only supported by .jsx extensions as stated in the README. However, I think I found an easy way to remove the current view and layout no matter what the extension. Let me know if I'm misunderstanding why you're removing all .jsx modules from cache.

jedireza commented 8 years ago

Thanks for opening an issue. I'll try to check this out in more detail today. At first glance, I like it and welcome the enhancement. 🎉