From 9142ab9c9f277688e704b29230d0c8e5165f2bbd Mon Sep 17 00:00:00 2001 From: Michal Kochel Date: Wed, 9 Mar 2016 18:30:28 +0100 Subject: [PATCH] Readme updated. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 45f0c35..c25a8f7 100644 --- a/README.md +++ b/README.md @@ -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) }