atom / autosave

Autosaves buffers when they lose focus
MIT License
64 stars 34 forks source link

Autosave on pane item creation #82

Closed smashwilson closed 6 years ago

smashwilson commented 6 years ago

Trigger an autosave when a new PaneItem is created. Allow it to create files that do not exist and skip the isModified() check.

This causes autosave to fire when Atom is first launching and bypass the fs.stat check that would otherwise prevent the new file from being created, addressing the first bit of #67 without regressing #35's work to address #9.