View Single Post
Old Yesterday, 09:26 AM   #8
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,849
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by KevinH View Post
By changing an item in the svg file and not an xhtml file, Preview has no way of knowing that the svg file was changed underneath it when reload was hit, so the cached version is loaded.
The issue is also present if in the .xhtml file I add anything. For example, open the file I attached, change the color to "blue" in the filter file, go back to the .xhtml file (no change is present) and after that, add a new paragraph (for example <p>This is a test</p> and the color image remains unchanged.

Quote:
So when editing that svg file in CodeView is somehow not writing that change to disk immediately. Have you tried closing the SVG tab and then try the reload in Preview? Does that work?
Yes, it doesn't work

Quote:
If not, does closing the xhtml CV tab and reopening it detect the change.
Yes, that works; by closing the CV tab and reopening it applies the change; also changing the CV (without closing it) does the trick.
RbnJrg is offline   Reply With Quote