adopted-ember-addons / ember-cli-hot-loader

An early look at what hot reloading might be like in the ember ecosystem
MIT License
99 stars 13 forks source link

Break private resolver template cache (aka: ember v3.1.1 support) #61

Closed toranb closed 6 years ago

toranb commented 6 years ago

screen shot 2018-04-26 at 9 37 24 pm

https://github.com/emberjs/ember.js/pull/16558/files

^this private template resolver cache in ember v3.1.1 broke the hot reloader. I've worked around this by capturing the private suffix and storing it in the clear cache utils so we can run this magic 1 liner

runtimeResolver.componentDefinitionCache.clear();
toranb commented 6 years ago

Now available on npm as v0.3.0