Sorry to hear that. That’s certainly a bug on our part.
If you do ctrl + s (cmd on Mac) you’ll force a save.
If you notice the save spinner is spinning without ever showing the green tick that’s a sign the app isn’t saving.
I’ve seen this a couple of times and it’s on our list. If you get into this state again opening up the browser console and pasting a screen grab of any errors is very useful.
Just a suggestion but I think it will be great if Anvil Editor would save at least the code in local storage and allow it to be recovered later in case the save fails.
I don’t think this is your issue but I have had this happen a couple of times when I have the developer tools open in a running debug session in another tab and have the network throttling set to Offline (Testing offline functionality). Even though it is another Tab, Chrome still applies the network throttling to the IDE window and then you get the never ending spinner… and sometimes when you disable the throttling , the spinner just keeps spinning