/wa

A super convenience watch and upload tool.

Primary LanguageJavaScript

Wa!

NPM version David Status

A super convenience watch and upload tool.

Inspired by wau and sshkey.


Install

$ npm install wa -g

Usage

init the directory

$ wa init

start to watch

$ wa

show config

$ wa info

customize the ignore files

$ vi .wa

Edit the ignores field, which is a collection of glob expressions.

{
  "host": "assets.dev.alipay.net",
  "path": "/home/admin/build",
  "username": "admin",
  "port": 22,
  "ignores": ["*.css"]
}

The wa config file is .wa in any directory which you want to watch. There is no global config.