I am having the same problem in Chrome. When I change the name of the file then the view reflects the changes, but if I change back to the original name the view reflects the older state of that file. I am running Chrome OS so I don’t really have another browser option except through my crouton installation. And if that’s the case I may as well just use VS Code
Note: If I open the file in the terminal via “cat filename.js” the changes are seen there. It’s just in the preview that it does not update.
FIX: I posted a fix earlier that stated that clearing the cache worked. Tried that again and it doesn’t… So, here’s another solution! Restart the runner for the project. The bottom panel when the application is running you’ll see a ‘Stop’ button. Beside that there’s a ‘Restart’ button. I hit that and refreshed my preview page and it worked fine.
Hope this helps!