atom/github

Discard changes should trigger save

DanielS6 opened this issue · 0 comments

Summary

When "discard changes" is used, the local file is updated, but anything listening for a save event (like the remote sync pro package) needs to be manually triggered by saving again.

Motivation

If a discard changes to a repo, I need to manually save the file again to trigger remote sync pro to update the foreign copy. When discarding changes to a file or two, this is fine, but when using "Discard All Changes" I need to remember which files require updating.

Describe alternatives you've considered

Additional context

This is my first issue for atom, sorry if I didn't provide enough details or if this is caused by code in atom core or in the remote sync pro package instead, I'm not sure how events work in atom.