2.2.5 • Published 10 years ago
tomcat-watcher v2.2.5
Install
Install only npm global module
$ npm install -g tomcat-watcherConfigure
To configure your project run:
$ cd PATH_TO_PROJECT
$ watcher-confand answer a few questions
In version 2.0.0 add support SFTP Deploy
Bugs SFTP:
- Don't create new folders on remote server
- Don't remove files on remote server
ES6 Support (Beta)
To use this feature, you need to:
- Allow check 'es6' extension in watcher-config.json
- install babel-preset-es2015 in the project folder
$ cd PATH_TO_PROJECT $ npm i babel-preset-es2015
If the ES6 file '.es6' is changed, it will be automatically compiled into ES5 '.js' file.
## Run
After configure will be created file:
* watcher-config.json
```javascript
{
"TOMCAT_HOST": "localhost:8084",
"CONTEXT": "/test",
"LOGIN": "sa",
"PASS": "sa",
"EXTENSIONS": "js,sql",
"DIRECTORIES": "app",
"SFTP": "true",
"SFTP_HOST": "192.168.1.12",
"SFTP_PORT": "22",
"SFTP_USER": "root",
"SFTP_PASS": "rootpass",
"SFTP_PATH": "/var/test/"
}If this file exists run:
$ cd PATH_TO_PROJECT
$ watcherIf you named config file specific:
Then you can run the command with parameter
$ cd PATH_TO_PROJECT
$ watcher my_conf_file.json2.2.5
10 years ago
2.2.4
10 years ago
2.2.3
10 years ago
2.2.1
10 years ago
2.2.0
10 years ago
2.1.1
10 years ago
2.0.1
10 years ago
2.0.0
10 years ago
1.2.1
10 years ago
1.2.0
10 years ago
1.1.0
10 years ago
1.0.3
10 years ago
1.0.2
10 years ago
1.0.1
10 years ago
0.0.5
10 years ago
0.0.4
10 years ago
0.0.3
10 years ago
0.0.2
10 years ago
0.0.1
10 years ago