So what happens to me and I’ve been able to reproduce this across multiple browsers and multiple computers (all windows based) is that you will be working in the IDE and thinking it is saving and then the simulator will “fail” and you need to reload the page to jumpstart the simulator. Reloading the page, bam, what you thought was saving is lost.
No warnings, nothing. The session was lost at some point and no one bothered to check on save if the session was valid or renew the session.
Seriously annoying bug that needs to be fixed for any serious development to occur within the IDE.
The easiest way to force the issue is to use something like SmartTiles on another account or via their “SmartInstall” feature that crosses the session up.
If you log into a smartTiles session for a smartapp and try to use the IDE at the same time, the IDE will log out everytime.
However, this isn’t the only culprit. I suspect that the IDE code uses a 20 minute cookie / session timeout that isn’t getting renewed on save or anything checking in the background.
I’ve opened tickets with support over this and the response is, we are too busy with hub v2 to fix this. I think this needs to be a priority to keep the community going and help develop smartapps and devicetypes.
This bug has existed for over a year as first reported here: