I attempted to organize a few of my files into different folders. In the end I decided to revert to an older version where none of the files are in folders.
Ever since then, when I hit run things are not working. It seems like none of my javascript resources are being imported and I am getting a 404 for each resource in the console. log
you would’ve used something like git to revert the changes, so the changes were made programmatically and the new files created weren’t registered when you hit ‘run’.
As for preventing, all I can think of is to move to an auto-refresh repl which doesn’t use static hosting like the HTML template. This template can also be convenient but note that it requires you to wait for the repl to wake up before visiting when the website goes inactive.