Git Product home page Git Product logo

vagrant-notify-forwarder's Introduction

Vagrant file system notification forwarder plugin

A vagrant plugin that uses notify-forwarder to forward file system events from the host to the guest automatically on all shared folders.

This is useful for auto reloading file systems that rebuild when files change. Normally, they have to use CPU intensive polling when watching shared folders. This plugin makes them able to use inotify or similar for improved performance and reduced CPU usage.

Installation and usage

$ vagrant plugin install vagrant-notify-forwarder
$ vagrant reload

By default, this sets up UDP port 29324 for port forwarding. If you're already using this port, or if you want to change it, add the following line to your Vagrantfile:

config.notify_forwarder.port = 22020 # Or your port number

The server and guest binaries will be automatically downloaded from the notify-forwarder repo's releases and verified with SHA256.

Permissions

The client in the guest OS will run as root by default, assuming passwordless sudo works. If this does not work, you can disable privilege escalation in your Vagrantfile:

config.notify_forwarder.run_as_root = false

Supported operating systems

To conserve size and dependencies, the plugin downloads binaries for supported platforms. This plugin supports the same host/guest platforms as notify-forwarder itself:

  • FreeBSD 64 bit as guest,
  • Linux 64 bit as host and guest, and
  • Mac OS X 64 bit as host and guest.

If you're running an unsupported host or guest and want to disable this plugin for a specific machine, add the following line to your Vagrantfile:

config.notify_forwarder.enable = false

Contributors

vagrant-notify-forwarder's People

Contributors

hedinfaok avatar mhallin avatar

Watchers

 avatar

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.