Git Product home page Git Product logo

Comments (7)

lwblackledge avatar lwblackledge commented on July 18, 2024 1

Thanks to your recommendation I was able to get it running and dig into what was happening.

The issue is that SSHFS is running on top of SFTP, which does not have any support for file notifications (it seems to be request/response only) so only user actions get the latest version.

This is not something I can fix as part of file-watcher but there are some options:

  1. Set up polling on open files, somehow determining if they are mounted over win-sshfs, or just based off a config setting. I'd probably make this a separate module actually, and interface with pathwatcher further down the stack.
  2. Get something like fsnotifier-remote working and hook into those events. I have no idea how to do this :)

I think I will try option 1 and add it as a new package. I'm going to close this as 'wontfix' since I cannot fix it in file-watcher, but I'll link the new package here, if it works.

from file-watcher.

lwblackledge avatar lwblackledge commented on July 18, 2024

Interesting. Have you tried recreating this with file-watcher disabled? I
will try to recreate this but I am not sure if I can do anything about it
if it is a core Atom problem.

Just so I am right in the steps:

  1. Files are located on the Mac
  2. Files are shared to VM with sshfs
  3. File is opened in Atom on Debian VM
  4. File is modified on mac
  5. No changes are detected in Atom

Is that correct?

from file-watcher.

rainbow-pooping-unicorn avatar rainbow-pooping-unicorn commented on July 18, 2024

Thanks a lot for your fast answer.

I will try this while file-watcher is disabled.
My configuration is like:

  1. My files are located on the VM
  2. files are shared to my Mac via sshfs
  3. file is openend on Mac with Atom
  4. file is modified on the VM
  5. No changes are detected in Atom

from file-watcher.

lwblackledge avatar lwblackledge commented on July 18, 2024

So I have tried to get sshfs to work for me but I am on Windows 10 and I cannot get it to mount a folder. I'll keep playing around with it but I may not be able to fix this.

from file-watcher.

lwblackledge avatar lwblackledge commented on July 18, 2024

Also reported by @fractalf, moved from issue #6.

from file-watcher.

fractalf avatar fractalf commented on July 18, 2024

@lwblackledge I also had to fight a little to get win-sshfs to work, the problem being different versions colliding. This should work though:

Dokan will maybe ask you do download and install Visuall C++ Redistributable stuff, which I did for both x64 and x86.

from file-watcher.

fractalf avatar fractalf commented on July 18, 2024

@lwblackledge Did you ever get win-sshfs to work for you?

from file-watcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.