Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

atom do not reload file on sshfs when modified by external program #13717

Closed
1 task done
wiso opened this issue Jan 30, 2017 · 10 comments
Closed
1 task done

atom do not reload file on sshfs when modified by external program #13717

wiso opened this issue Jan 30, 2017 · 10 comments
Labels

Comments

@wiso
Copy link

wiso commented Jan 30, 2017

Prerequisites

Description

atom does not reload a file which is modified by an external program when the file is on a folder mounter by sshfs. This is very common with command like svn up, which means that you are overwriting all the changes made by other contributors.

I don't know if there are packages which does this, but I think this should be the default behaviour of any editor, at least atom should warn you.

Steps to Reproduce

  1. sshfs remote_host:remote_path localpath
  2. atom localpath/myfile
  3. cd localpath/myfile
  4. svn up

Expected behavior:

atom should reload the file after svn up

Versions

Atom : 1.12.7
Electron: 1.3.13
Chrome : 52.0.2743.82
Node : 6.5.0

Additional Information

emacs does

@lee-dohm lee-dohm changed the title atom do not reload file on sshfs when modified by external problem atom do not reload file on sshfs when modified by external program Feb 1, 2017
@cooniur

This comment has been minimized.

@dexter369
Copy link

Same issue, if I open a log file from server and then re-download and open that file from server using Filezilla, atom shows the contents of old file instead of updated file. Hard to imagine why it is this way or not fixed yet , if bug.

@Edmundod

This comment has been minimized.

@ourway
Copy link

ourway commented Feb 13, 2018

You need to turn of cache on sshfs.

@erikedhagen
Copy link

Did anyone find a way to resolve this? Or an alternative way of working with an sshfs share?

@valkalon
Copy link

valkalon commented May 25, 2018

same issue here sshfs cache off did not work for me

@stale
Copy link

stale bot commented May 25, 2019

Thanks for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. Because the Atom team treats their issues as their backlog, stale issues are closed. If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of Atom
  2. Comment that the issue is still reproducible and include:
    • What version of Atom you reproduced the issue on
    • What OS and version you reproduced the issue on
    • What steps you followed to reproduce the issue

Issues that are labeled as triaged will not be automatically marked as stale.

@stale stale bot added the stale label May 25, 2019
@stale stale bot closed this as completed Jun 8, 2019
@flaschbier
Copy link

still the case in Atom 1.40.1 x64 on Ubuntu 18.04 (installed from snap): files changed externally are not automatically reloaded by Atom. Dangerous behaviour. Should be fixed asap.

@allefeld
Copy link

allefeld commented Nov 9, 2019

Same here, sorted a file open in Atom from the bash prompt, expected Atom to alert me to the change and to offer to either save or reload.

@kovvalsky
Copy link

Atom 1.40.1 on Ubuntu 16.04, the same issue.
Other program edited the file but in Atom there is no indication that the file has changed and the old version is shown.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

10 participants