0.1.0 • Published 10 years ago
watcher_tool v0.1.0
Watcher
用于监听文件改变并执行命令
###运行方式
- 配置文件:
watcher.json
- 运行命令:
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