Socket
Socket
Sign inDemoInstall

fake-chokidar-sender

Package Overview
Dependencies
107
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fake-chokidar-sender

event sender for fake-chokidar


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
2.42 MB
Created
Weekly downloads
 

Readme

Source

fake-chokidar-sender

event sender for fake-chokidar

How to use

First, follow the instructions for fake-chokidar.

Then, download the current release of the fake-chokidar-sender executable. You might also build your own from source or just call node directly, but it's unnecessary.

Run the executable like so:

fake-chokidar-sender --port 12345 .:/my-source
  • --port 12345 specifies the same UDP port you configured for fake-chokidar when calling inject()

  • .:/my-source is a pair that you should read as . : /my-source. It means that the process should watch for file changes in the current directory (.). Of course you can specify any directory here. Normally this should be the name of the directory of your shared folder, as seen by the host. Likewise, /my-source is the name of the equivalent folder in the guest.

This will forward all Chokidar events for the current directory (and all directories below) via UDP to the guest. Events for file ./foo/bar.txt will be seen by the guest as /my-source/foo/bar.txt.

Options

Please run fake-chokidar-sender --help.

Create your own binary

Just download the source and run

npm install
npm run package-win64

Keywords

FAQs

Last updated on 02 Dec 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc