lwblackledge / file-watcher

An open file watcher for Atom that will prompt when the file on disk has changed.
MIT License
34 stars 7 forks source link

Changing Branchs #22

Closed marcel0ll closed 5 years ago

marcel0ll commented 7 years ago

When I change branchs I get annoyed by the reload popup. Isn't there a way to check if the branch has been changed and not ask for reloading?

lwblackledge commented 7 years ago

That would be a decent sized change but I'll think about how I could disable it on git change.

However, that might cause some other unintended issues if you have unsaved changes and switch branches.

You could disable the prompt on change option, which will only show the prompt if you have a modified buffer?

marcel0ll commented 7 years ago

If you have unsaved changes that would cause conflict git doesn't allow you to change branchs as far as I know.

lwblackledge commented 7 years ago

I tested with the option 'Prompt on Change' disabled and I think this is what you want. It will not prompt between branches unless you have a modified buffer in Atom.

image

Is that what you were looking for?