One solution to this is to have emanote append all links to static files with a ?t=currenttime. When the hot reload event is fired for HTML (because an image file got modified), that will have the effect the changing the URL to it, due to the new timestamp query param, and so the browser will have to refresh it after morphdom patches it.
The URL query addition should happen only in dev server mode (not during static site generation).
https://github.com/srid/ema/issues/42
One solution to this is to have emanote append all links to static files with a
?t=currenttime
. When the hot reload event is fired for HTML (because an image file got modified), that will have the effect the changing the URL to it, due to the new timestamp query param, and so the browser will have to refresh it after morphdom patches it.The URL query addition should happen only in dev server mode (not during static site generation).