Skip to content

When running fs.watch on a Vagrant vm and changing a file through the host machine, the change is not detected #6765

Description

@miparnisari
  • Version: node 4.1.2
  • Platform: Ubuntu 64-bit
  • Subsystem: fs

Not sure whether this is known behavior or a bug.

I'm running Ubuntu on a Vagrant virtual machine and I have set up a shared folder so changes to the folder and all subfolders are in sync. However, if I run fs.watch('/folder') in the VM and change a file in that folder through the host (Windows), the change is not detected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to Node.js documentation.fsIssues and PRs related to file-system APIs and the fs module.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions