Anvil Beta Editor didn't save my work... :(

Hello Team,

Here’s my code before my work is gone:

I stopped running and refreshed the browser and my code is gone:

Even the Server Module I created was gone.

Is there a way to save manually to make sure that all my work is saved?

Regards,
Joey

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 :white_check_mark: 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.

3 Likes

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.

4 Likes

Great idea! Local storage isn’t always available, or durable, but when it is…

1 Like

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

Thanks @stucork ! Will try to do ctrl + s (cmd on Mac) to force save my work.