<p dir="auto">This is on OSX 10.10.1 with Atom 0.15.0</p>
<p dir="auto">I had an issue today where I ran out of disk space, and Atom seemed to wipe out a previously saved file.</p>
<p dir="auto">As in, this file had already been saved, I opened it in Atom, saved, then I quit Atom. Then when I restarted Atom, the file was empty.</p>
<p dir="auto">I checked with <code class="notranslate">ls</code>, the file was empty and 0 bytes.</p>
<p dir="auto">I do understand that running out of disk space is certainly not a normal condition, but is there any explanation that would explain how Atom would completely wipe out the contents of the file as a result?</p>
<p dir="auto">I have a hard time replicating this issue since it will require me filling up the disk again, but in a nutshell the problem is that when I edit a file in Atom, if the disk space is not enough to save it, I find that the file content is erased.</p>
<p dir="auto">This happened to me more than once (yeah I need more Gbs of disk space) so I can certify that it is Atom the one causing the issue. The issue appears whenever I edit the file, not when I just open it. The problem is not that Atom is not being able to save the file (that would make sense if there is no disk space available), the problem is that Atom <em>removes all the content</em>, and of course I'm afterwards not able to recover it.</p>
<p dir="auto">I have no clue of why may this be happening</p>