During dev I would like to refresh my handlebar templates if they are saved live.
I already have a websocket channel that notifies me when a file saves. At that point I can force a reload of the particular template by updating a hash on the script
tag src
.
How can I notify all the Views that use this template that they need refreshing and force a refresh?
(How can I find them? How do I trigger a refresh?)