I just discovered that pythonista has this cool syntax highlighting for JavaScript and HTML. So it’s by far better than any editor for html that I was using.
I was trying to make it work with p5.js, and it did. Render everything pretty nicely.
But then, trying to make some changes to the file I reloaded and... they don’t show up.
My first thought was that it was some kind of cache of the browser.
When I changed the name of the file it updated.
So I wrote, inside the script that opens the html, some code to make a temporary file and open that. Then I added a separated txt to store a number, cause the temporary file was not updating either.
At the end the temp file is called something like “index-temp5.html”.
But it doesn’t update that neither.
I have no idea of what could be happening.
Making some tests now I realize that it might be just the js that is not getting updated.
Any help would be appreciated.