New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fsevents_to_vm

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fsevents_to_vm

  • 1.1.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

FSEvents To VM

Forward OS X file system events to a VM, designed for use with Dinghy.

Installation

Normally you won't install this manually, Dinghy will do it for you.

If you want to manually install:

$ gem install fsevents_to_vm

Usage

Dinghy will start fsevents_to_vm automatically. If you would like to run in manually:

The Dinghy VM must be running. Then in a terminal run:

$ fsevents_to_vm start

You can specify a specific directory to watch. This directory must be already mounted in the VM over NFS. By default, this means anything in your home dir:

$ fsevents_to_vm start ~/projects

Known Limitations

  • Delete events are not forwarded.
  • Multiple events for the same file within the same 1/100th of a second may cause events to be missed.
  • Some directories that you are unlikely to care about are ignored, for example ~/Library.

Testing

First, make sure that fsevents isn't already running due to dinghy start, kill it if necessary.

Then run manually:

bundle exec ruby exe/fsevents_to_vm start --debug --ssh-identity-file ~/.docker/machine/machines/dinghy/id_rsa --ssh-ip $(dinghy ip) ~

You can use inotifywait in the VM to watch for events:

docker run --rm -it -v $HOME:/fstest ubuntu:trusty
apt-get update && apt-get install -y inotify-tools
inotifywait /fstest/some/dir

Then modify a file in ~/some/dir and watch for inotifywait to catch the change.

FAQs

Package last updated on 05 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc