Code changes don’t take effect

This is a question about odd behavior I have noticed in Replit in multiple repl’s. Sometimes I will make changes to code, but the changes seem to be ignored. By this I mean they will not change the behavior or appearance of the program I am writing, will not trigger any changes in need of committing in git, will not even show up in code search of my repl (in fact, code search will still show old code that has been replaced, and clicking on the supposed location of the old code will take me to the location and show the new code in the editor!)

This has happened multiple times both in a project I am working on in React Typescript, and a project in node.js. The only “fix” seems to be closing Replit for a few hours and then trying again. Has anyone else noticed this behavior? Any suggestions about how to prevent it from happening? Thanks!


2 posts were merged into an existing topic: Replit can’t update changes