Skip to content

Commit

Permalink
Readme updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
gavoja committed Mar 9, 2016
1 parent 8868ef1 commit 9142ab9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ let targets = [
"http://admin:admin@localhost:4502",
"http://admin:admin@localhost:4503"
]
let userFilter = "*.orig" // Skip merge files.
let syncerInterval = 300
let exclude = "**/*.orig" // Skip merge files.
let pushInterval = 300

new aemsync.Watcher(workingDir, userFilter, () => {
new aemsync.Pusher(targets, syncerInterval, (err, host) => {
new aemsync.Watcher(workingDir, exclude, () => {
new aemsync.Pusher(targets, pushInterval, (err, host) => {
if (err) {
return console.log(`Error when pushing package to ${host}.`, err)
}
Expand Down

0 comments on commit 9142ab9

Please sign in to comment.