0.1.0 • Published 10 years ago

watcher_tool v0.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
10 years ago

Watcher

用于监听文件改变并执行命令

###运行方式

  1. 配置文件: watcher.json
  2. 运行命令: node watcher

###例子

{
    files: ['path/to/the/file/you/want/to/watch'],
    //文件发生改变需要执行的命令
    command: 'scp file name@host:path/to/a/folder'
}

Release History

0.1.0

10 years ago