{"id":21606032,"url":"https://github.com/codekitchen/fsevents_to_vm","last_synced_at":"2025-04-11T04:04:38.322Z","repository":{"id":33245162,"uuid":"36889513","full_name":"codekitchen/fsevents_to_vm","owner":"codekitchen","description":"forward OS X file system events to a VM, designed for use with Dinghy","archived":false,"fork":false,"pushed_at":"2018-06-22T15:40:03.000Z","size":33,"stargazers_count":22,"open_issues_count":4,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T04:04:33.561Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codekitchen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-04T18:59:24.000Z","updated_at":"2020-10-01T10:15:10.000Z","dependencies_parsed_at":"2022-09-17T03:13:07.710Z","dependency_job_id":null,"html_url":"https://github.com/codekitchen/fsevents_to_vm","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekitchen%2Ffsevents_to_vm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekitchen%2Ffsevents_to_vm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekitchen%2Ffsevents_to_vm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekitchen%2Ffsevents_to_vm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codekitchen","download_url":"https://codeload.github.com/codekitchen/fsevents_to_vm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248339286,"owners_count":21087215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T20:18:40.221Z","updated_at":"2025-04-11T04:04:38.297Z","avatar_url":"https://github.com/codekitchen.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FSEvents To VM\n\nForward OS X file system events to a VM, designed for use with Dinghy.\n\n# Installation\n\nNormally you won't install this manually, Dinghy will do it for you.\n\nIf you want to manually install:\n\n    $ gem install fsevents_to_vm\n\n## Usage\n\nDinghy will start fsevents_to_vm automatically. If you would like to run in manually:\n\nThe Dinghy VM must be running. Then in a terminal run:\n\n    $ fsevents_to_vm start --ssh-identity-file ~/.docker/machine/machines/dinghy/id_rsa --ssh-ip $(dinghy ip)\n\nYou 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:\n\n    $ fsevents_to_vm start ~/projects --ssh-identity-file ~/.docker/machine/machines/dinghy/id_rsa --ssh-ip $(dinghy ip)\n\n## Known Limitations\n\n* Delete events are not forwarded.\n* Multiple events for the same file within the same 1/100th of a second may cause events to be missed.\n* Some directories that you are unlikely to care about are ignored, for example `~/Library`.\n\n## Testing\n\nFirst, make sure that `fsevents` isn't already running due to `dinghy start`, kill it if necessary.\n\nThen run manually:\n\n    bundle exec ruby exe/fsevents_to_vm start --debug --ssh-identity-file ~/.docker/machine/machines/dinghy/id_rsa --ssh-ip $(dinghy ip) ~\n\nYou can use inotifywait in the VM to watch for events:\n\n    docker run --rm -it -v $HOME:/fstest ubuntu:trusty\n    apt-get update \u0026\u0026 apt-get install -y inotify-tools\n    inotifywait /fstest/some/dir\n\nThen modify a file in `~/some/dir` and watch for inotifywait to catch the change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekitchen%2Ffsevents_to_vm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodekitchen%2Ffsevents_to_vm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekitchen%2Ffsevents_to_vm/lists"}