1.0.0 • Published 5 years ago
reposync v1.0.0
Edit first lines of sync.js to choose the directories to watch and which repositories to copy to. Paths are relative to this sync script.
// copy & watch repos
const watchRepos = ['../repoOne']
// to repos
let repos = ['../repoTwo'];
Above will move the files inside "repoOne" into "repoTwo/node_modules/repoOne"
The .git_ignore in "repoOne" is read and respected when copying files.
1.0.0
5 years ago