watch-scp

0.0.5 • Public • Published

watch-scp

Watch file changes in a directory, and use scp to synchronize to remote.

Start up

Install the package

npm install -g watch-scp

Configuration

Enter your working directory, run watch-scp init. This will generate a configuration file config.toml in current directory. Modify the generated configuration file to satisfy your requirements.

Start

Run watch-scp.

Specify a configuration file

You can specify a specific configuration file instead of the default ./config.toml. Use the -c or --config option. e.g.: watch-scp -c ~/foo.toml.

Of course you can initialize the working directory with a specified configuration filename. e.g.: watch-scp init -c foo.toml.

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i watch-scp

    Weekly Downloads

    4

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • cosmozhang1995