Adds autosave daemon thread that saves all loaded maps once a minute#45
Adds autosave daemon thread that saves all loaded maps once a minute#45factorsofx wants to merge 1 commit intomonster860:masterfrom
Conversation
|
@monster860 merge it NAO |
|
What does this do? Does it autosave all the maps every minute? If so, why? What if you are working on something and you're not done yet? |
|
@HiddenKn you should ALWAYS save liberally even if you're not "done" yet. If the editor crashes or whatever you lose all your work. |
|
@PJB3005 I prefer to only save after I make an actual proper change. Autosave causes saves during unfinished changes resulting in useless "backups". Unless this saves to a different file than the main save? (For example, ·vim saves backup information to .swp files) |
|
How are these backups "useless"? If the program crashes and you have a backup 30 seconds ago you lost 30 seconds of work. If you don't have a backup you might've lost 30 minutes of work. |
|
And if you made a mistake you may have just lost over 30 minutes of work because your known good version was just overwritten by a broken version. |
|
That's what version control is for. |
|
Your workflow isn't the same as everyone else's. I've made my point if you disagree that's fine. I'm just saying it would be nice if it could be saved to a backup file or if there's a configuration option to disable it. |
|
What if im placing stuff on a map after I have finished and specifically don't want it to be saved? |
I think I finally sorted out my git problems... Anyways, here's this. I synchronize on editor like the other place that iterates over the list of loaded maps. Sorry again for the spam!