atom / autosave

Autosaves buffers when they lose focus
MIT License
63 stars 29 forks source link

Autosave not saving new files #67

Closed raymanoz closed 7 years ago

raymanoz commented 8 years ago

If I start editing a new (non-existant) file, make some changes, and close atom, the file is not saved.

to reproduce:

$ atom newfile
 (add some text to newfile)
 (press cmd-q to quit atom)
$ ls newfile
 (notice newfile has not been created)
tribbloid commented 7 years ago

affect me as well, sublime text used to handle this nicely

Hagith commented 7 years ago

Doesn't work for me either. It's working with save-session package - but it's deprecated in favor of this package.

raymanoz commented 7 years ago

Also:

$ atom existingfile
  (make changes)
  (cmd-q to quit)
$ cat existingfile
 (notice existingfile has not been modified)
ungb commented 7 years ago

I was able to repro both issues. The issue @raymanoz mentioned is a bug as well and should be addressed.

If you reopen Atom, your unsaved changes are still there.

These were my steps I followed to repro the issue:

mkdir testfolder && cd testfolder && atom newfile
(make some changes to the file)
(cmd+q to quit)
ls 
(new file hasn't been created)
smashwilson commented 7 years ago

Both of these issues are fixed and will ship in Atom 1.22-beta0.