sync-update

```sh npm i sync-update ```

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
sync-update
1.0.44 months ago4 months agoMinified + gzip package size for sync-update in KB

Readme

install
```sh npm i sync-update ```
use
index.js ```js const path = require('path'); const {syncUpdate} = require('sync-uodate'); const src = path.resolve(dirname, './src'); const dist = path.resolve(dirname, './dist'); // const src ="E:\\xxx\\src"; // const dist = "E:\\yy\\zz\\xxxx"; syncUpdate(src, dist); ```

cmd 中运行

当 src 目录中文件发生变化, dist 中可以同步到此变化;不需要使用 modemon ```sh node index.js ```